AngularJs vs Laravel. What to pick? [closed] - angularjs

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 a web, iOS and Android app simultaneously.
I have setted up phalcon that connects to Cassandra database and it is used for an API gateway.
All requests are HTTP and nothing connects directly to Cassandra everything is filtered in Phalcon developed app.
Now, I have to consider the login behind the dashboard and the way to develop a fast and scalable user interface.
What to choose for better development and of course safety; Laravel or AngularJs?

AngularJS is a front end framework and Laravel is a backend framework, comparing them is like comparing apples to bicycles.
Seriously though:
Authentication and database access are fundamentally backend procedures. The framework used to manage the business logic around this are frameworks that run on the server itself, and typically expose a web server and API calls. PHP is one of those languages and is not run in the browser (client) or on any native mobile system (ios/android). Laravel is a framework built around server side PHP to help with these procedures.
The client is the actual browser or mobile phone that is connecting to the back end services through http requests and manages the user experience and UI. AngularJS is a front end javascript framework built for the browser.
If this is news to you, you need to learn a lot before you dig into laravel and angular. Good luck!

Related

Is spring security really needed for developing a react js based web application? [closed]

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 2 years ago.
Improve this question
What are spring securities need to be implement while creating react js based web application?.
what is the current trend?Kindly reveal me if someone has really experience in this field ,especially from spring boot back end developers.
Since react-js is only a frontend web framework, it can't handle the backend services. In my opinion integrating react-js frontend with spring-boot at the backend will be a great choice for a project but it always depends on what type of application you are building.
Spring boot provides many features for security like Password Hashing, Role based Authentication, Remember-me, HTTP Authorization and many more.
The best part about these features is that they can be configured and customized based on your needs and what suits your application the best

Should Node jS API and Angular jS be on the same project? [closed]

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 have a Node JS backend which consists only of API.
I want to develop an Angular dashboard for my system, that communicates through REST API to perform all actions.
I have seen some MEAN examples where the Angular project lives inside the Node JS project, in public folder.
However I was wondering if this is the best approach, or should I create another project that simply connects to the API and that is hosted independently.
My main fear is that Node JS project is deployed in Google Cloud Platform and I have the feeling/understanding that whenever I update something I need to upload a whole new instance of the project (and traffic is redirected to this new instance), so I would lose control of API versions if new updates are being submitted for frontend changes.
No, it doesn't have to be on the same project or hosting, angular 2 or any other single page application framework would work just as fine with any API as long as you apply same origin policies or your API provide the right CORS policy headers.
here is how to enable CORS on express.js if you are planing to have backend on a different domain.
or you can redirect/proxy specific urls to be served from different upstreams or static files using Nginx for example.
You can even have your angular app hosted via a cdn where your api is on any other hosting.
It is even recommended to manage back end and front end in separate developing cycles.

Should I use NodeJS(Express) web services between AngularJS app and SpringBoot WebServices? [closed]

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 thinking about creating an app using AngularJS, NodeJS , and SpringBoot WebServices.
Should I use NodeJS(Express) web services between AngularJS app and SpringBoot WebServices ? If yes or no, please tell why.
Look forward to hearing your opinions !
AngularJS -> NodeJS(Express) -> SpringBoot WebServices -> DB
Note that Javascript is NOT Java.
It is rather strange to build your backend through two different kind of technologies. I would say you either go with just NodeJS (Javascript) or only SpringBoot (Java).
Building a server using NodeJS's express module as your middleware and then SpringBoot as your web service simply doesn't make sense to me... Unless you are saying you are intending to build a NodeJS application to act as a proxy server to talk to another server that serves resources written in Java. Otherwise I don't see why you need to setup a NodeJS application and another Spring application on the same server to work together serving certain resources.
Even if the combination make sense, using the 2 different technologies would mean that your server application will be running 2 different processes;
a Java process for your springboot application
a Node process for your nodeJS running express
Since each process will have its own memory space, this means that for both processes to communicate they will have to use the TCP/IP networking stack (http request). Where this and many other complicated considerations could be avoided, if you just go fully with 1 of the techs.

Connect to SQL Server in AngularJS [closed]

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 am learning AngularJS and I want to know how to connect to SQL Server, get data from it and show it using AngularJS.
Thaks in advance.
Angular JS is a client side architecture, you can't connect a database directly. What you need is an API on server like web service, MVC, webapi etc, to which you can make calls from your Angular js app.
Angularjs is client side framework based on javascript. There is nothing to do retrieving data from SQL server. It is server side's duty.
You should implement on server side technologies such as .net or php, and give services to client side through web api, rest api etc.

To use or not to use the database? [closed]

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 8 years ago.
Improve this question
I set up a REST API (MVC Web API). My iOS (C#/XAMARIN) and Android (C#/XAMARIN) Applications access the REST API. My webpage (C#/MVC) is able to connect the API Server or the database server directly. My question is: Should I choose the API or the SQL Server for my Web application? All applications are using the same C# class library.
This picture http://imgur.com/nHyzzmB shows my setup.
It is better to use API for the web application,
because it provides JSON or text format data response and to consume API in html / cshtml page is also good and performance of your web application must increase and if you plan for responsive design for your web application that may be used in any device then it is good to have mvc web api restful web service option.

Resources