SharePoint OOB
SharePoint out of the box provides a rich toolset to allow you to build a web based system with lists, document libraries, content pages and custom elements. If the project or issue you are working on fits well with the toolset, you have deep knowledge of SharePoint, and if you have a pliable client who is willing to tweak processes to work with SharePoint, then you have a fast functional solution package.However, using the out of the box components of SharePoint restricts you in both functionality and look and feel.
One of the typical starting points of new projects is a wireframe, approved by the client and ready to replicate. Trying to replicate a custom wireframe in SharePoint however can be very challenging and require changes to master pages, site layouts, and other elements to obtain a certain look and feel. And if it includes HTML5 dynamic elements and other current web technologies, out of the box SharePoint may not support it at all.
SharePoint is most efficient and powerful when you can use the out of the box components, but customization can end up taking more time than developing a system a different way.
SharePoint Development
One way to handle the challenge of needing custom functionality and appearance is to code the solution in Visual Studio and deploy the resulting package to the SharePoint farm for deployment. However, this requires a deep skill set, and an environment set up to support release of new applications through SharePoint. And for smaller projects, the time and effort is also not justified.So, for a larger scale application that is to be hosted in SharePoint, with a supportive environment, developing using code can be an acceptable way of meeting specifications.
But for smaller applications, a few custom pages, perhaps even a single page based on a precise wireframe, there is another alternative.
Using SharePoint as a Web Host
If you create a blank aspx page for SharePoint in SharePoint designer, you can put any design, any css, and text you wish on that page. You have, as with any web page, complete control of the design. You are not restricted by the appearance or functionality provided by SharePoint, you can create the page from scratch.This means you do not need a .net developer to create the custom page, you do not need the overhead of creating and deploying through the farm, you can simply create a standalone page that exactly meets your requirements.
And if you wish to add css and custom java scripts, you can add those to existing site assets libraries and simply link to them in the head of your aspx page.
Your page is still protected by the SharePoint permissions model, so you can control access as you would with any SharePoint resource.
What about functionality? If you use the SPServices jquery libraries for SharePoint, you can query and update any list that is hosted on the same site in your code. So, you can create dynamic web pages that are populated using SharePoint lists. This has the added advantage of allowing end users to modify the content using the list, without having to deal with HTML updates and approvals.
So, instead of using SharePoint's built in toolset, you instead use it more like a web host. It hosts your web pages and resources, it hosts your jquery and SP services libraries. It provides and updates dynamic data to your pages. And it is covered by the SharePoint security model. This way, particularly for smaller projects or non .net skillsets, you can achieve exactly what you need without being obstructed by SharePoints OOTB functionality.
Create a Stand Alone Web Page
- Open SharePoint Designer, open your site that you with to host the page, and select a new aspx page for that site.
- Put any css or other resources in the same sites site assets library and link to those libraries in the head section of your new web page.
- Build your page as any web page, you have complete control of look and feel. Use html5, keyframes and any other web technologies you wish. Save it and view it.
Add data source
- Download the SPServices jquery libraries and put into your site assets library.
- Add a link in the head section of your page to the jquery libraries for the two libraries needed, like this: <script type="text/javascript" src="https://..SiteAssets/jquery.SPServices-2014.02.js"></script>
- Using JavaScript and jquery, connect to your supporting lists and extract the data you wish to display on the page. As we are developing this from scratch, we are not limited to list views or other ways of displaying data, we can build the interface to whatever we wish.
3 comments:
Thank you so much to share such an amazing and informative article. Keep us updating with more interesting articles. Also, visit at Sharepoint Development
The article presents an interesting perspective on using SharePoint as a web host when the standard out-of-the-box components cannot easily reproduce a required design or functionality. While SharePoint provides useful lists, document libraries, content pages, and other components, the discussion makes it clear that extensive customization can sometimes require more effort than building a solution differently.
The comparison between Visual Studio-based SharePoint development and creating a standalone ASPX page is particularly useful for smaller projects. Using SharePoint Designer to create a blank page provides greater control over the HTML, CSS, and overall design while avoiding some of the deployment overhead associated with larger SharePoint applications. Developers interested in strengthening their web development skills can explore a Javascript Course in Chennai alongside these concepts.
I also like the practical distinction between larger applications that justify a full development and deployment process and smaller projects that may benefit from a simpler approach. Having control over the page design can be valuable when working from an approved wireframe or implementing custom web elements. A Javascript Training in Chennai program can further help developers build the frontend skills needed to create customized web experiences.
Post a Comment