How to integrate existing angular js application into Laravel 5 [closed] - javascript

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 one already developed Angular js application.Routing and templates are already done in that application.
Now my customer need it to integrate this application using Laravel for PHP integration.
Guys please guide me how I proceed.
If we can't able to integrate then kindly suggest any other PHP framework which is comfort for angular application.
Thanks in advance

AngularJS is javascript, it runs on user's browser, Laravel is php, it runs on your server. They communicate via HTTP requests and they are complelty independant one from another.
If you have to migrate your application from AngularJS to PHP, that means you have to write your application again, because they have different logic, approaches and way of working.
If you have to let your AngularJS communicate with a remote server, that is done via ajax requests and it doesn't matter what framework you use, since AngularJS will only look at the output produced from your server.

Related

General questions about php and react.js [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 1 year ago.
Improve this question
I'm about to learn react.js but I have a lot of questions,
if I'm learning react do I need PHP?
Do I need PHP with react.js and how will I use it inside PHP if possible
if I do PHP do I need React?
React.js is a javascript front-end library. It is fully written in javascript and that is the only language you need to know to use it.
PHP is a scripting language that is generally used to create the backend of your applications.
So yes you could technically develop your backend using PHP and then use React to create the frontend of your application, however it would be easier to simply use javascript to create both the backend and the frontend of your project.
If you're interested in backend development using javascript, I recommend you start by looking at node.js and the express.js library.

is it possible to use pure node js without using express as a back-end for vue js? [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 2 years ago.
Improve this question
I've already created a project using vue js and node js but with express. I was just thinking if it's possible to use node js alone without using such a framework?
Yes, it's possible to develop a whole website/web app without an extra framework like express. The thing is that you have to manage so many things on your own.
Your web app/website code became harder to read as you progress in NodeJS. URL routing is complex than express. So, You have to write a bunch of switch cases.
It's possible to use NodeJS alone. But, you have to write more code that is provided by express or any other framework.

The relationship between JAVA and html [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
Is JAVA compatible with html and js? Can we work together other than jsp???
To link the WEKA function.We implemented the java code using jar, and we need the html and js links for visualization. Is there any other method of linkage besides jsp?
There are various ways of working with Web tech and Java. JSP is an old-school means of generating a Web page using Java code and supplying it to a browser. This requires an application server capable of handling HTTP and JSP. Another approach is to create an independent Web page and to communicate with a server that is running Java. The simplest approach is, again, to use an application server that supports HTTP.
Reading between the lines of your question, I think the various solutions will require more effort than you were hoping.

How do I code for a login system in php? [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 have been researching this for a few weeks now, and am still stuck. I still don't understand how to make a custom login system. I can't get the database for mySQL for mac or PC, and Ruby on Rails would mean me to code in erb language and I don't understand erb. Can someone help?
First of all, you need to setup a localhost. For Mac, to get started, you can use MAMP or XAMPP. These will set up a local environment for you as well as a way to connect to a Database.
Once you've installed this, you need to create a database (MAMP and XAMPP come with an integrated Database UI called PhpMyAdmin).
Once you have set up your environment, you can start to integrate PHP.
There are various tutorials online to do this, here is a list of some simple ones:
http://www.webgeekly.com/tutorials/php/how-to-make-a-login-system-with-php/
http://www.phpro.org/tutorials/Basic-Login-Authentication-with-PHP-and-MySQL.html
If you have never used PHP before, I suggest you read up on the basics before diving into creating a login system, as you won't understand that much of it.

Build website using JSP or Javascript [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 have to build a website which involve e-commerce stuff like it should allow the users to login and then view the available items. Once the user selects the items and makes payment, it may need additional information in the form of some images/videos to complete the order. So, after payment step, it prompts the user to upload the file and when the file is uploaded on the server, request is complete and the user is kept informed about the status.
All the core functionality is already implemented using REST-ful webservices. I am not able to decide if I should implement the website using HTML+JS (using AJAX to call webservices) or should still use JSP and call webservices using java at server side? Someone suggested me that using JSP is better since it will execute on server side and hence will be secured and faster. But, I somehow feel that HTML+JS is easier to go. Is there some specific advantage to use a server side script like JSP for this purpose? Any ideas are most welcome.
Yes server side scripting will be fruitful for this purpose for security constraints. Or you can use angular js though they are easy to learn and they are secure and can make fast XHR request response. :)

Categories

Resources