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 8 years ago.
Improve this question
I created a client-server web app using Java backend (JBoss RESTEasy, Jackson, MongoDB) and Javascript frontend (just jQuery and some plugins).
Now as I learning Javascript I want to create the same app using MEAN stack.
What should I start with? All necessary tools are installed (node.js, grunt, bower etc). MongoDB with needed data is ready.
Should I start with Mongoose model for my data? Or with Angular part?
I would suggest building bottom-up from the existing documents in MongoDB to the Mongoose models and doing a quick prototype to replicate a key performance scenario of your existing application. This will help with capacity planning, you'll have real application workloads and a foundation to add Angular on top of later.
Related
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.
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.
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 3 years ago.
Improve this question
I am just planning architecture for my web app and I just wanted to ask you, if it is good idea to use Firebase auth with Angular and mongoDB as a database. (I don't want to use Firestore realtime database)
Is a good idea to use queries directly from my Angular client or do I need some node.js/express backend for this? What would be the best solution?
Thanks for your advices.
In my opinion you should be fine with simply making calls from Angular, but if I were you I would build a Node/Express server API that will perform CRUD operations against firebase Auth and MongoDB. Then in your Angular app, you simply make API calls to your internal server API.
This architecture will ensure some sort of scalability and integration. If you wish to build an iOS or Android app in the future to supplement your web app, you already have your NodeJS server ready to go. No need to rebuild a separate backend just for your mobile apps. I use this concept in all my projects: web or mobile.
Hope it helps.
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 5 years ago.
Improve this question
I'm wondering if there's some way, using JS+nodejs, to create and to live- update a database.
I am in a bit of a time crunch and am very unfamiliar with PHP, and am having problems using PHP+Heroku. I am much more familiar with JS+nodejs. Any suggestions would be appreciated.
Have you tried using meteor?
https://www.meteor.com/
Meteor runs on top of NodeJS and you can build apps with two way data binding ( database and front-end) using meteor. Plus It has support for Angular and React.
https://www.meteor.com/tutorials/blaze/creating-an-app
Alternatively you can build everything from scratch with NodeJS, some front-end framework and Socket.io.
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 9 years ago.
Improve this question
What are the pros and cons of Backbone.js, Express, Ext JS, and JSPP??
There all very different.
backbone.js is a client-side MVC framework.
JSPP is a means you can write inline server-side code (like PHP or ASP) for nodejs
Express is a node.js specific server-side framework for web development.
Ext JS is a framework for making web applications and widgets.
There all very different. There isn't any point in a direct comparison without you telling us what you want to use them for.
To vaguely answer your question. IMHO I would say using backbone.js on the client and on nodejs is great for MVC centric design.
Express is a great layer of abstraction on nodejs because it beats writing the code yourself. Use it to serve content to your clients.
Ext JS is not free.
JSPP looks like ASP/PHP!