શેરપોઈન્ટ લક્ષણો & સોલ્યુશન્સ મેનેજમેન્ટ — CRUD માં યુ ભુલી ગયા નથી (અથવા તે બાબત માટે, D)

અમે સામુહિક શેરપોઈન્ટ ઉકેલો વિશે સમય વિચાર એક મહાન સોદો ખર્ચ — કેવી રીતે તેમને બનાવવા માટે, જે સાધન વાપરવા માટે, તેઓ જમાવવા માટે નિષ્ફળ જાય ત્યારે શું થાય છે, ટાઈમર નોકરી, સ્કોપ્સ, વગેરે. We spend so much time thinking about the up-front bits that it’s easy to forget that we need to retract them as well. Retracting solutions is probably more difficult, એક કાલ્પનિક ડિઝાઇન દ્રષ્ટિકોણથી, than deploying them. Deployment is basically a cookbook affair. Typically, એક લક્ષણ સ્થાપિત, કદાચ એ લક્ષણ રીસીવર યાદી માં અમુક માહિતી લોડ કરી છે, that sort of thing. તેમ છતાં, રિટ્રેક્ટીંગ સંભવિત વધુ જટિલ છે.

આપેલ ઉકેલ આવી શિલ્પકૃતિઓ બનાવી શકે છે:

  • સામગ્રી પ્રકાર
  • યાદી વ્યાખ્યા
  • સાઇટ વ્યાખ્યા
  • યાદીમાં માહિતી
  • પણ રીસીવરો
  • ઈન્ફોપાથ સ્વરૂપો

આ યાદી પર જાય છે.

તે યોગ્ય રીતે તે વસ્તુઓનો instantiates કે ઉકેલ તૈયાર કરવા માટે દેખીતી રીતે મહત્વપૂર્ણ છે જ્યારે, it’s just as important to consider the update and delete cases. If your solution creates a new list and populates that list with data, ઉકેલ પાછો ખેંચવામાં આવે છે ત્યારે શું થાય છે? In some cases, the list should be deleted. In other cases, it should be left intact for historical purposes. Your business requirements will guide you to the right decision.

આ સાથે મદદ કરવા માટે, create a matrix that lists each artifact your solution deploys to SharePoint. List three columns per artifact, બનાવવા માટે એક, update and delete. For each case, તે ઓપરેશન માટે યોગ્ય પરિણામ નક્કી.

This sort of analysis is obviously best done before the solution is ever deployed to a SharePoint farm. તેમ છતાં, ધુમ્રપાન જેવા, it’s never too late to start doing things correctly. Create that matrix and develop a plan to address the missing update/delete scenarios. It may be a hard problem to solve, પરંતુ ઓછામાં ઓછા તમે સમસ્યા આસપાસ બોક્સ મૂકવામાં પડશે.

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

Twitter પર મને ખાતે અનુસરો http://www.twitter.com/pagalvin

Technorati ટૅગ્સ:

2 પર "વિચારોશેરપોઈન્ટ લક્ષણો & સોલ્યુશન્સ મેનેજમેન્ટ — CRUD માં યુ ભુલી ગયા નથી (અથવા તે બાબત માટે, D)

  1. જ્હોન બેન્ડર

    @ કોઈ નામ

    કે આ લક્ષણ રીસીવર વર્ગ માટે શું છે. તમે ક્યારેય તમે તમારી વૈવિધ્યપૂર્ણ લક્ષણ Reciever અંદર ઓવરરાઈડ પદ્ધતિઓ માં ઓબ્જેક્ટ મોડેલ અંદર શું કરવા માંગો છો નિયંત્રિત કરવા માટે વૈવિધ્યપૂર્ણ કોડ લખવા. જો એમએસડીએન લેખ જુઓ અહીં.

    Hope that helps 🙂

    @ પીડી

    હું આ મહિના શેરપોઈન્ટ વપરાશકર્તા જૂથ પ્રસ્તુતિ માં આ લેખ લિંક છું કારણ કે, SPUG આ મહિને ચર્ચા કરવામાં આવી હતી, આ ખરેખર મજબૂત શેરપોઈન્ટ સુવિધાઓ બનાવવા માટે કેન્દ્રીય મુદ્દો છે.

    -જ્હોન બેન્ડર

    nickelcode.com (બ્લોગ)

  2. માઇક Birtwistle
    When I started developing solutions and features I did look for a setting somewhere in the definition that defines what happens on deletion or update. It left me wondering if there should be a few built in behaviours to a WSP – or a swtich on stsadm – that do some of the common tasks you mentioned above such as on deleting a solution – remove everything or leave everything and on updating – દૂર કરો અને બદલો અથવા માત્ર વ્યાખ્યા અપડેટ અને પછી લક્ષણ રીસીવર માં વૈવિધ્યપૂર્ણ ક્રિયા કરવાની વિકલ્પ હોય છે.

એક જવાબ છોડો માઇક Birtwistle જવાબ રદ કરો

તમારું ઇમેઇલ સરનામું પ્રકાશિત કરવામાં આવશે નહીં. જરૂરી ક્ષેત્રો ચિહ્નિત થયેલ છે *