TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A simple form builder application written with AngularJS

43 pointsby manpreetrulesover 11 years ago

6 comments

BrandonSmithover 11 years ago
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>&quot;Best of breed&quot; (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&#x27;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&#x27;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&#x2F;CloudFront.<p>Does something like this exist? I should probably just prototype it.
评论 #7236438 未加载
评论 #7234617 未加载
评论 #7235358 未加载
aramover 11 years ago
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:&#x2F;&#x2F;github.com&#x2F;Selmanh&#x2F;angularjs-form-builder</a>
评论 #7236496 未加载
gcaoover 11 years ago
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.
vladgurover 11 years ago
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:&#x2F;&#x2F;selmanh.github.io&#x2F;angularjs-form-builder&#x2F;#&#x2F;forms&#x2F;1&#x2F;vi...</a>
评论 #7236499 未加载
mmatantsover 11 years ago
For those who need a bare-bones view model of a submittable form with parameters, there&#x27;s this:<p><a href="https://github.com/myplanetdigital/angular-action" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;myplanetdigital&#x2F;angular-action</a><p>Uses promises!
selmanhover 11 years ago
source repo is here: <a href="https://github.com/Selmanh/angularjs-form-builder" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Selmanh&#x2F;angularjs-form-builder</a>