Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have developed a basic web app using normal client-side code (not using angularjs) and the Laravel framework for the backend. A friend (in the software business) is joining to help me refine it and he questioned me using a PHP framework and instead says he would re-write it using AngularJS.
Is AngularJS capable of full read/write of a database to create a dynamic website? Since AngularJS is a javascript framework, I only understood that to mostly be used for front-end and a project would still need a back-end language like PHP.
Thanks,
Angular is a front-end (i.e. browser) framework - it can't run on the server without lots of backflips and hacks, and wouldn't buy you a whole lot anyway.
You could write the back end using node.js to connect to your databases and possibly get Angular running partially on the server to generate your initial pages. This is a technique known as "isomorphic javascript" (among other terms). It's an optimization, but if what you've got works I'd stick with it.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 months ago.
Improve this question
I understand that the front end should be backend agnostic, meaning a REST API is a REST API.
Speaking to a number of developers for an upcoming project I am continually hearing that if we opt for Vue on the front end then we should use Laravel on the backend however if we use React then Express (Node) will work well.
Why would Vue.js care or even know what the back end was?
My preference is Vue + Express, as I am familiar with Node.js
I think you can see the needs of the program you are going to make, and adjust what technology is good for the program
Front-end frameworks are actually agnostic. Most would recommend you use two frameworks together because of how easy the blend is and how they've built their back-end around a front-end framework. You can keep using your Vue and Express which is not weird at all; I mean it's called a MEVN(MongoDB, Express, Vue.js, Node.js) stack.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am looking into ways of migration a current Angular 1 project to Angular 4.
Options are ng-forward, ngUpgrade or rewrite.
I am thinking on rewriting it but with a twist.
I keep the current application
Start writing the new one parallel to it
All new NG4 rewrites, I want to use ... so bit by bit in other words.
Has anyone attempted this or know a better way?
Incrementally upgrade an AngularJS application to Angular.
One of the keys to a successful upgrade is to do it incrementally, by running the two frameworks side by side in the same application, and porting AngularJS components to Angular one by one. This makes it possible to upgrade even large and complex applications without disrupting other business, because the work can be done collaboratively and spread over a period of time. The upgrade module in Angular has been designed to make incremental upgrading seamless.
For more information, see Angular Developer Guide - Upgrading from AngularJS
The DEMO on PLNKR
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am developing 1 project but I am little bit confused to choose which technology I should use
I go for AngularJs, but why AngularJs?
I go for WordPress, but why WordPress?
Can anyone suggest me the best option?
The answer is not so simple, because there are many types of fields on which selected technologies can be used and as #steur36 said before, it depends on your project requirements.
Basically, Wordpress is a CMS and its prime functionality is to provide all functionality to run and display a simple webpage (its a mix of frontend and backend). Wordpress could be used with success for small websites or blogs (where the main feature is to provide and/or display basic content, like: text, images/media/gallery, files ect.)
In the other side, there is the AngularJS, a javascript frontend framework where you can focus on visual side of your project and how the content is present to the audience. With AngularJS (or any other javascript frontend framework, like: Ember, Backbone, ect.) you can build the appearance of any webpage or web application, but to store the content, you may also need some RESTful backend server as well (to create queries to the server).
As small summary, Wordpress is great for small and medium websites/blogs (for bigger projects, it might not be adequate). With AngularJS (and probably with some RESTful backend server, because it depends if you really need it) you may create almost any complex projects, but the time of creation will definitely increase relative to Wordpress.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I'm using angularjs for my application, which is so secure (similar like banking application),i have another option of using freemarker or velocity ..
whether it is best to go with angularjs or we can use freemarker or velocity. if so could you please explain. the backend service is spring boot .
Freemarker is just a templating engine, it's not a full front-end framework with 2 way data binding like angularjs is. Also, with angular it's very easy to build Single Page Applications which have a very smooth user experience compared to traditional applications where you must reload the page every time the user navigates to another page. If you already know angular, it's the better choice. If you don't know angular, then freemarker is much faster to learn but not quite as powerful/good. Though I do quite like freemarker as a templating engine.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
When you create a project and apps with Django, the Django engine creates the initial structure.
But when creating a project that runs Django and AngularJS on the same server, what structure do you recommend and why?
At first avoid this kind of question here in Stackoverflow because it's just primairly opinion-based. Check Stackoverflow Guide to better understand the rules.
When it's about code structure, you can find like the best answer since the structure it depends of many factors (project size, team work, developer background etc). I worken on some projects using Django, Django Rest Framework and AngularJS and end up with:
if the Angular app is small app it's more convinient to follow django structure so html files in TEMPLATES and js files in STATIC
if the Angular app is more complex on term of structure, it's better to have separate App so you make both your client and server side more maintainable and in this case I will recommand Cookiecutter as structure for Django; it's one of the most used structure and for AngularJS I will recommend the famous Angular Seed.
Make sure you take the right choice ;)