123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Computer-Programming >> View Article

Code Scope For Fresh Sharepoint Developers

Profile Picture
By Author: Dylan Rodriguez
Total Articles: 131
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Are you new to SharePoint Development? This article will be very useful as it discusses the method of explaining code execution in SharePoint to fresh SharePoint developers. Code scope considering SharePoint solutions are very important and developers will find them easier to understand with some information that is provided here. SharePoint beast wraps the heads of new SharePoint developers especially when it comes to codes.
Before we go further into discussion please go through the below diagram where you may find how a code is executed on a page load. It gives the basic flow of the page load.
This diagram helps some junior developers to get better understanding of when the code is to be executed in SharePoint at a high level. This simple diagram can give you complicated meanings if you dig deeper. As well as here in this article we are concerned it serves the purpose well.
Where is the code executed?
You will see that dlls and XSL are executed on the server while the JavaScript/iQuery on the client. This is pointed out for several reasons like:
XSL: This is a ...
... frequently asked question. Less data gets passed over the wire due to XSL's execution on the server and processing is done by a beefier machine. So obviously the outcome would be better performance. At the time you use iQuery and make web service calls actually you build XML strings and are sending them to server. So ALL the results come back and client machine has to parse through the XML and use what it needs and avoid the rest.
Update: For better performance with the use of jQuery can be obtained in some situations with delaying calls for data until needed, limiting data that you want to retrieve with CAML and user input, and no executing a web service call if you don't need.
For getting better performance of XSL and iQuery take the benefits of the following:
Till you need it delay the execution of code to retrieve data?
For retrieving data entirely avoid calling a method
Lessen the amount of data retrieved by user selection and CAML.
SharePoint developers, note that XSL and JavaScript are not meant to work collaboratively in same scope. The data sent back by JavaScript to sharepoint in post back can be used by XSL then. XSL can output JavaScript and initiate JavaScript variables. However to get a value XSL cannot call a JavaScript method and also cannot directly interact with XSL for calling its templates. They can be executed in their scope only.
Hope this article proves to be beneficial for newbie SharePoint developers working with SharePoint solutions. This is just some basic information that developers need to understand. It will help you during development of SharePoint solutions to get the best solution for your specific development or say custom development. Mainly new guys who get an error while trying to call a XSL or JavaScript function will get some help from this information.

For More Information:- Sharepoint Customization | Sharepoint Solutions

Total Views: 189Word Count: 495See All articles From Author

Add Comment

Computer Programming Articles

1. Software Business Ideas: Innovate, Create, Dominate
Author: DigitalDazzle

2. The Role Of Erp Systems In Zambia's Business Development
Author: Doris Rose

3. How Useful It Can Be To Do Web Scraping For Flight Data?
Author: #WebScrapingForFlighData

4. Keeping Track Of Time: A Look At Time And Attendance Systems Pen_spark
Author: Computime Systems

5. Self Service Kiosk Machine Hardware And Software Supplier In Dubai
Author: panashi

6. What Are The Benefits Of Erp?
Author: Subho Chowdhry

7. How Can You Learn Excel Online?
Author: Tech Ford

8. Unveiling The Art And Science Of On-demand App Development
Author: CMExpertise Infotech

9. Master Mobile App Development With Swiftic App Framework Certification
Author: EDCHART

10. How On-demand Travel Data Scraping Can Revolutionize The Travel Industry?
Author: #OnDemandTravelDataScraping

11. How To Adopt Mobile First Approach: A Practical Guide For Consumer Retail Brands
Author: Nitin Lahoti

12. Unlock Your Potential With Xamarin Developer Certification
Author: EDCHART

13. Unlock Your Potential With Edchart's Flutter Developer Certification Exam - Free Test
Author: EDCHART

14. Navigating Success: Hiring Dedicated Php Developers For Your Next Project
Author: Quickway Infosystems

15. Cmmc Gap Analysis: Roadmap To Compliance
Author: Karmai

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: