SharePoint generally is a great framework for building enterprise apps
SharePoint developers (SharePoint farm solutions developers) have been leveraging successfully of these resources to build enterprise systems for many years. This has had sometimes not so good results. Simply, due to the fact that these solutions can sometimes affect the whole SharePoint server farm. And, in a way that is detrimental to anything else running on that server farm.
The solution for this as suggested by Microsoft with the introduction of the app model is to make more use of the “platform” personality of SharePoint. This allows effectively to write code that does not run within the same process as SharePoint code does. As well, it helps to avoid (most of the times at least) the common pitfalls of SharePoint farm solutions.
What resources SharePoint can offer:
- Document libraries
- A robust security model
- User profile store
- Extensive REST API and much more…
Ember.js framework & SharePoint is the perfect marriage for building ambitious enterprise web solutions
I have been using Ember.js for a long time to deliver high standard enterprise solutions. On that note, I get asked the following obvious question many times.
Why not Angular or even ReactJS instead?
The answer to that question has many facets to it. In summary, it boils down to Ember.js being a real framework. Rather than a library being built and maintained by developers working on real life projects of their own. Moreover, any Ember.js developer can quickly become familiar to a new project. Therefore, quickly become productive, due to its heavy use of convention over configuration.
The combination of Ember.js + SharePoint enables novice and expert developers to develop highly scalable solutions. And these solutions leverage great tools like Node.js and robust systems like SharePoint. By doing so, they create a highly scalable ambitious enterprise web application.
It enables developers to dramatically reduce the amount of code they write.
At Kianda Technologies, we developed an Ember SharePoint Adapter that allows an easy development experience while building Ember apps for SharePoint. A drop of this adapter will quickly allow Ember data talk to SharePoint Lists.
Ember SharePoint Adapter
Sample customer ordering system built in combination with SharePoint + Ember.js
Here is a good example of such use of SharePoint by employing Ember.js coupled with a few lists in SharePoint to build an order management system.
The ingredients for this hypothetical system are:
- Two SharePoint lists (Customers and Orders with the required metadata)
- js used to provide front-end and business logic
- Ember SharePoint Adapter built to communicate via SharePoint JSOM / REST API to allow Ember to work with list data
- Ember app referenced within a SharePoint page
- A document library to host the page and its client resources
The following is sample code used in Ember app.
Note: In the code snippet above, SP Data represents an abstraction of the Ember Adapter, using a combination of SharePoint rest services or simply JSOM.
The advantages of building your business app this way is multiple: Easy to change and quick to adapt without lengthy deployments and the guarantee of no custom code being executed with your SharePoint process.
In conclusion; the use of a sophisticated client-side framework such as Ember.js combined with SharePoint web services can provide an ideal environment for your next business application.
About the author: Osvaldo Sousa Founder and Principal Architect of Kianda BPM (www.kianda.com) is a highly skilled engineer that held positions such as a CTO, Senior SharePoint Architect and Chief Product Architect building innovative enterprise solutions for organisations in Europe. He is considered as a SharePoint and no-code BPM expert.
Let us show you with a free live demo what Kianda can do for you.