ஷேர்பாயிண்ட் அம்சங்கள் & தீர்வுகள் மேலாண்மை — CRUD உள்ள யூ மறக்க வேண்டாம் (அல்லது இந்த விஷயத்தில் டி)

நாம் கூட்டாக ஷேர்பாயிண்ட் தீர்வுகள் பற்றி நேரம் சிந்தனை ஒரு பெரிய செலவு — எப்படி அவர்கள் உருவாக்க, இது கருவியை பயன்படுத்த, அவர்கள் வரிசைப்படுத்த தோல்வியடையும் போது என்ன நடக்கிறது, டைமர் வேலைகள், எல்லைகள், முதலியன. 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. எனினும், பின்வாங்கும் அபாயம் மேலும் சிக்கலாக உள்ளது.

ஒரு கொடுக்கப்பட்ட தீர்வு போன்ற சிக்கல்களை உருவாக்க கூடும்:

  • உள்ளடக்க வகை
  • பட்டியல் வரையறை
  • தளத்தில் வரையறை
  • ஒரு பட்டியலில் தரவு
  • கூட பெறுதல்
  • InfoPath படிவங்கள்

பட்டியலில் செல்கிறது.

அதை சரியாக அந்த சிக்கல்களை 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, உருவாக்க ஒரு, புதுப்பிக்க மற்றும் நீக்க. 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, ஆனால் குறைந்த பட்சம் நீங்கள் பிரச்சனை சுற்றி ஒரு பெட்டியில் வைத்து.

</இறுதியில்>

என்னுடைய குழுசேர்.

மணிக்கு ட்விட்டரில் என்னை பின் http://www.twitter.com/pagalvin

Technorati குறிச்சொற்கள்:

2 "மீது எண்ணங்கள்ஷேர்பாயிண்ட் அம்சங்கள் & தீர்வுகள் மேலாண்மை — CRUD உள்ள யூ மறக்க வேண்டாம் (அல்லது இந்த விஷயத்தில் டி)

  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 பதிலை நிருத்து

உங்கள் மின்னஞ்சல் முகவரி வெளியிடப்பட்ட முடியாது. தேவையான புலங்கள் குறிக்கப்பட்டன *