Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Hey Guys so I just started learning ReactJS and I love it a lot,
yet I have never seen anyone using it with PHP it seems like everyone uses Node instead, the question is can I even use PHP and Laravel with it? cheers.
Yeah, absolutely! The backend does not matter since React is just a view layer (very controversial statement, but for the same of simplicity).
As long as you expose the endpoints, consume it and then, in turn, provide React (or Redux) with the data, it doesn't matter which framework you use it with.
The reason why people usually use Node.js is because of isomorphism: you write the backend and the frontend in the same language so you don't get confused.
You can change out the Vue.js scaffolding in a laravel 5.5 project using
php artisan preset react
https://laravel.com/docs/5.5/frontend
Would have simply commented this but not enough Rep yet! // yolo
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have a basic knowledge of SQL and a basic knowledge of JS, mostly from school. I'm looking forward a way to create a HTML/CSS/JS webpage in local to query (select/insert/update) a SQL Database, but I saw a lot of different ways to do it. I need some help to get through the vastity of all those info. Which are the easiest ways to achieve my goal and which are the most up-to-date ones today?
Try node.js is you prefer JS on server. It has loads of libraries allowing connections to pretty much all databases out there.
There are very helpful tutorials on youtube showing how to start. Here is one of them.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
in the Java IDE I can click an object or function and directly be taken to the file (class) that the implementation lives in. My background has been mostly back-end java coding and front end JSP/JSF type of work and this never been a problem. Now I am working in a front-end environment that is all Javascript/AngularJS that is a ton of small .js files instead of .java files in different folders/packages.
I am trying to understand what's going on because I haven't wrote the code and it would be helpful if I could click on a function, service, provider etc and be taken directly to the .js file it lives in. Is there a IDE that can do that for AngularJS? I assume the only reason like IntelliJ and Eclipse can do that for Java is because each class imports at the top but in AngularJS it's done differently.
Thanks in advance
Webstorm (pure JS)
PhpStorm (php + JS)
IntelliJ IDEA ( java + JS)
All of them are completely customizable by installing plugins
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for an example that uses ReactJS+PHP (client-server side) which make uses at the same time of the architecture FLUX?
Any recommendation?
Thanks in advance.
The flux architecture can work with PHP without any problem, since all the flux architecture is implemented in the javascript at client side. And all the communication with the server can build in simple jsons.
So basically you can look for any flux example with Node.js & just implement all the data call in PHP.
The only problem with the PHP server approach is that you won't be able to implement server-side react rendering in PHP server. And if you interesting in this feature you should build your server in Node.js.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for a JS framework, which would help me to divide the code into categories. Whenever I do any apps, I don't use any framework and even tho it's working, my code looks really untidy, it lacks a nice structure. Can you advise any nicely formatted, object oriented, MVC framework which works well with node.js apps and EJS? (besides express.js)
I recommend TypeScript. If you're not interested in running your code through a compiler, check out this answer:
Constructors in JavaScript objects
... explains how I like to set things up so I can have a general "class" structure and keep different parts of the app in different files.
Express is the most used framework for Node.js
Apart, if you are looking for something similar to the relation ruby - rails which gives you a predefined project structure (controllers, models...) probably you can take a look to yeoman
For an angular + node app I'd go with this particular generator: angular-fullstack
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there any web API that takes a URL and gives back the readable content of that page? Or is there any javascript library that can do this?
Installing node.js or any server-side app is not possible.
That's actually a really hard problem. Such questions usually imply that you want sidebars and similar 'noise' elements excluded. This is often solved with different training sets within the machine learning computer domain and it's not easy to develop.
Having said that - take a look at:
http://www.alchemyapi.com/api/scrape/
http://www.readability.com/developers/api
http://www.diffbot.com/
This should help you to learn enough about the space that you'll be able to do better searches for you problem domain.
I think you could find some related services on Mashape (http://www.mashape.com/).
Search for 'text'. Like this: https://www.mashape.com/search?query=text
There are several NLP / Analysis providers there, and most of them are freemium.
OTOH, there's also a project called boilerpipe. You can test its quality at the URL below:
http://boilerpipe-web.appspot.com/