I am looking for a simple CRUD template system for AngularJS that dynamically creates UIs to manage entities via REST. Is there something out there that does this already or a template that is easy to adjust?
Ideally a framework / template where all I have to do is specify a REST resource layout, and a data model definition in JSON that describes entities and relations.
Any recommendations? I don't want to build this again in another language =)
You should try Telosys http://www.telosys.org/
See all the tutorials https://sites.google.com/site/telosystutorial/
and especially the tutorial dedicated to AngularJS https://sites.google.com/site/telosystutorial/angularjs
mCrud
Somebody created a Node.js / AngularJS application using material design to do generic crud on a MySQL database using sequalize as an orm. It looks good. You can purchase it for 27 USD.
Here it is:
https://codecanyon.net/item/mcrud-materialized-database-crud-generator/14617925
ng-admin
An AngularJS admin GUI to any RESTful API
https://github.com/marmelab/ng-admin
and even more...
There's a community wiki answer on the same topic.
What backend-agnostic admin interfaces / GUIs are there?
Related
I want to create an application using Ionic and AngularJS and Grails?
Also, I want to use Grails Spring Security Core plugin for login or registrations procedure.
Although, Stack Overflow is not the correct site to ask this type of questions which simply needs suggestions and other's opinions.
Well, we are here to help. You can try other StackExchange sites like https://softwareengineering.stackexchange.com/.
Grails + Ionic + AngularJS is a perfect combination of frameworks to build a fully functional and elegant mobile application for all platform. We've build various mobile applications using these three technologies and they work awesome.
Since Grails fully support the concept of rest API for JSON and AJAX based calls, it is absolutely possible to use it along with AngularJS. AngularJS doesn't care about the server-side technology you are using as long as your server side code can communicate over JSON data.
Ionic is just a beautiful front-end SDK which works on the top of AngularJS and provides various utilities to develop a hybrid user-friendly mobile APP.
So you can easily use these 3 technologies and get your mobile app ready in a few weeks.
Ionic doesn't care about what you use as a server stack. As long as you create a service which has well defined interfaces (REST?), you should be fine.
I for example use PHP (yeah, I know, shocking, right?) Slim framework + Postgres database as my backend.
I've been learning Java for more than 6 months. I'm developing a web app and learning through building it. I'm using Glassfish Server and MySql. No frameworks. Using Servlet, JSP and EJB.
Now I'm querying database through JSP page and displaying results. Is this the best way? or Should I use servlet for querying database and displaying results in JSP?
I want to display only part of the resultset object and show the remaining if the user wants to see it. So Could I implement this using jsp alone?
I would recommend usind your Servlet to handle the database-connunication only and perhaps some logging on the usage of the Connection. The logic would best be implemented in JSP alone since you can better maintenance it.
Querying database through JSP page is not the best way. And because you are not using any framework is definitely not the best way to learn. While learning you need to try as much frameworks as possible to find out which one you can use or not to use. You are also need to learn patterns for building Java EE applications.
Should I use servlet for querying database and displaying results in jsp?
This approach is much better, but is not enough because of coupling database code with servlet code.
I want to display only part of the resultset object and show the remaining if the user wants to see it. So Could I implement this using jsp alone?
What do you want to display should be coded in the servlet.
You should avoid coding your business logic codes in your JSPs. Segrate your application into multiple layers, take a look at MVC design pattern.
Model: These are plain POJO classes where your DB transaction and business logic happens.
Controller: This is where your servlets goes. These classes accept user request, call appropriate Model classes and send response to view.
View: This is you JSPs, displays data to users. Avoid using Scriptlets in your Jsps. Use JSTL and EL.
Take a quick look at this example MVC application, and do your own searching on MVC. Hope it helps you to get started.
I have a website in which we have used asp.net, c# and SQL database. In this website we are frequently retrieving/submitting the details from database. Now we are redesigning this website. How about using Angularjs while redesigning? Will it make the development easier?
Or please let me know if we have better framework for this.
If you are using basic asp.net, then not really.
You have a page which includes a .cs "code behind" file and a ".aspx" file that are coupled and work together.
Why would you suddenly need a client side model? This is more relevant for "Asp.net MVC".
Now you could do some work arounds and start working "ajax + json oriented" to insert angularjs, but you will need a lot of changes.
Now, if you are planning on a large redesign, I would try looking at web api(you dont have to change your whole site, but maybe you will prefer to create a service that will work with your database to fetch data and return your angular js client json's that will data-bind with your views).
Now if you didn't understand me, I'd google "Asp.net web api" up and then google some "Asp.net web api and angularjs" up.
Yes, AngularJS can be used to simplify the front-end side of your website development.
Their developer overview provides a great brief on how to do data binding: https://docs.angularjs.org/guide/databinding
I've seen some references to using Backbone.js with a CMS. I will be starting on a new project soon that will be using Kentico CMS. I'd like to use Backbone.js for the client side framework to make a "web app" experience that has it's content managed through Kentico (similar to the example Backbone gives on their website for USAToday).
Has anyone ever done this? It seems difficult due to Kentico's web framework. I'm sure it is possible to do, but at what cost? What functionality will be lost on the Kentico side? Will content managers still be able to change layout, rearrange webparts, add/delete webparts, update content within webparts, add/delete pages?
Any help or examples would be amazing! Thanks.
Kentico CMS comes with a RESTful API that is able to manipulate with all objects and documents in the system. So it's up to you what you implement on the client side. If you want to achieve push capabilities you will probably want to utilize SignalR (ASP.NET encapsulation of WebSockets). There is nice library that provides communication between Backbone.js and SignalR called Backbone.signalr. Last thing you should have a look at is a new system of events introduced in Kentico CMS 7 enabling to hook up to any document or object change.
Does anybody know a library or project that allows for an AngularJS style of programming in Dart?
I'd like to be able to create annotated HTML files for declaring my UI instead of imperatively instantiating everything like in SWT. Also, features like data binding would be helpful. Can I use Dart for that instead of JS?
angular.dart - official port of Angular to Dart.
Old answer:
Another option: Web UI. There's a new article on it here.
The angularjs team announced a port for Dart a couple of days ago
Here you go the link http://news.dartlang.org/2013/06/angularjs-announces-port-for-dart.html
You should check out Buckshot from John Evans. Buckshot gives you declarative UI and data binding. https://github.com/prujohn/Buckshot
There are a bunch of UI frameworks being created for Dart right now. I know about PureMVC, Buckshot, and HipsterMVC, but there are probably others. I don't know which of these are like AngularJS.
Google also just released an article on using Web Components in Dart.
AngularJS uses the new methodology of MVC (Model-View-Controller) to separate information from the user interface. Many web frameworks, most notably Ruby on Rails and ASP.NET MVC 3 and MVC 4, use this methodology to make programming web apps easier, in my opinion. JavaScript libraries, like AngularJS and Backbone are beginning to use this style of programming on the client-side as well. For Dart, I would take a look at Hipster MVC. Its still being developed, but it looks very promising and should be completed soon. Hope this helps!