I strongly prefer static site generation (in all their flavors, but Harp.js is my current poison). But I live in a world where the technically challenged need to author content and make minor changes.<p>"Best of breed" (whatever that means) suggests Drupal and like are the route to go, but it is difficult for me to justify the hosting costs, monitoring, and whatnot required for a dynamic content server for largely static content.<p>I have lately been dreaming of a poor man's CMS and workflow and I now see something like the linked AngularJS Form builder can play a role.<p>* Static site generator leveraging JSON files to hold content. Most SSGs support JSON data in templates.<p>* Standalone dynamic server to fulfill the need to provide a more accessible UI to create content.<p>* Content types are created using a form builder. No need for anything pretty, we're just creating content.<p>* Content instances are created using resulting form.<p>* Preview content.<p>* When content author is ready, submit for approval.<p>* Everything backed by Git (revision all the things) with support for branches, tags, forking... authoring content creates a branch. Submitting for approval is a pull request. Deploying tags the version, generates the static site, and pushes to S3/CloudFront.<p>Does something like this exist? I should probably just prototype it.
Pretty cool! I was thinking to create the same thing to make building forms less tedious. I usually switch to Jade whenever I have too much HTML to type out.<p>Question: Why linking to a cloned repo? The fork is 0 commits behind the master, so nothing is changed from the source.<p>Link to the source repo:<p><a href="https://github.com/Selmanh/angularjs-form-builder" rel="nofollow">https://github.com/Selmanh/angularjs-form-builder</a>
Thank you for sharing this. However, IMHO form builder is the last thing that could be reused in different projects. How a form is presented and submitted and navigation is handled vary a lot from one project to another project.
You should really use ng-cloak so that things that havent been bound dont show up until they are ready<p>Here in particular: <a href="http://selmanh.github.io/angularjs-form-builder/#/forms/1/view" rel="nofollow">http://selmanh.github.io/angularjs-form-builder/#/forms/1/vi...</a>
For those who need a bare-bones view model of a submittable form with parameters, there's this:<p><a href="https://github.com/myplanetdigital/angular-action" rel="nofollow">https://github.com/myplanetdigital/angular-action</a><p>Uses promises!