Skip to content

martinlaukkanen/spng-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#SharePoint / AngularJS MVC App Template Project

This is a test project designed to be a seed project (or eventually a Visual Studio Template) to implement a SharePoint single-page App built using AngularJS with a heavy emphasis on MVC design patterns.

The project structure is built to be very familiar to any ASP.NET MVC developer, while providing a good starting point for a simple (or complex) SharePoint AngularJS based App.

###Initial version notes

  • VS2013 SharePoint Hosted App Project Template
  • NUGET AngularJS-Core package
  • Folder structure as per ASP.NET MVC pattern (/Controllers, /Models, /Views, etc)
  • Sample Model, View and Controller including directive and services to recreate the "'Hello ' + user.get_title()" default template functionality.

###Releases Get the initial release download to test this for yourself:

https://github.com/martinlaukkanen/spng-seed/releases

###Installation Download the SPNG.zip file and place it in the following folder on your computer:

\My Documents\Visual Studio Version\Templates\ProjectTemplates\

Then open Visual Studio 2013 and select New Project, you should find the SPNG template under JavaScript project types. Note: that you will have to manually specify your SharePoint DEV site URL once created.

##Feedback Please!

I’m very keen for any feedback on this so either post on the blog below or here on GitHub, in particular my choice of using Directives vs Views or Slices or Includes is somewhat arbitrary. Although it is largely based on my view that this SPA (Single Page App) should not need routes and such as I don’t want to think how that could work within an SPAppWeb.

Finally, I am by no means an Angular expert, in fact I’m brand new to it! So all suggestions on best-practices and relevant design patterns are more than welcome.

###Comments / more information

http://nearbaseline.com/blog/2014/03/angularjs-and-sharepoint-app-template/

About

SharePoint / AngularJS App Seed Project

Resources

Stars

Watchers

Forks

Packages

No packages published