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!
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 4 years ago.
Improve this question
I understand I can design the UI with HTML CSS JavaScript or any other frontend framework.
I even understand that I can connect to any remote API.
what if I want a standalone application with database. How should I connect to the database ? where should I write my application logic?
I feel like there is a missing part in electron do I supposed to use a node JS web Framework like Express?
or I should write all the program logics in pure node JS without using any framework?
What is the best approach to write electron applications if possible please point me any working example.
It is entirely up to you.
While the client/server (frontend/backend) model we've got used to in web applications is a good idea (separation of concerns), it's not the only way to do things when the client and the server are on the same machine.
Electron is built on top of Node.js. So you can use the usual npm modules in order to connect to whatever database system you want to use and do away with frameworks. For example you can write code to fetch data from the database right into your onclick event handler if you desire so.
Having said that, odds are you will find yourself dealing with an unmanageable bunch of spaghetti code if you're not careful. So, some kind of structure is recommended even if you don't want an entire client/server system.
Also, your "client" and your "server" don't have to communicate through HTTP. The interface can be just plain function (and/or method) calls. Electron also has a message passing system (for example: https://electronjs.org/docs/api/ipc-main that you may use.
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
We are planning to shift our web application from php framework to angular.js, but I am worried if my code will be stolen? because javascript frameworks source are open to everyone, does it makes sense to worry about it? Are there any popular applications that use javascript frameworks?
For protecting your javascript code you can use UglifyJS
https://github.com/mishoo/UglifyJS
For protecting your request to the API you can use server side
authentications
If you want to build a one-page application you must use some JS
framework, more about frameworks you can see
http://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks
In any case, you can't 100% protect your code, but you can make it 99% unreadable, for example, look at this resource http://javascriptobfuscator.com/.
You can't
AngularJS is client-side frameworks and PHP is server side language, so no you can't completely migrate your application to AngularJS.
Probably what you want is Node.js
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 9 years ago.
Improve this question
I'm new to Flask and frontend javascript frameworks and trying to build nice REST site which will not reload every user click. I now a little bit of jQuery. What is the best javascript framework suited for Flask?
Flask is a microframework, intended for wide use of extensions (see the list for most known). And also it's JavaScript-agnostic. So you can use any js-framework you want.
jQuery is good and well-known. I would recommend jQuery + Backbone.js for AJAX/REST web applications. Works nice with Flask.
Backbone.js is also well-known and uses RESTful interfaces by default. But it's main purpose is to help you implementing web apps using MVC (model-veiw-controller) approach on client side. MVC approach is mandatory for complex, feature-reach applications, and gives you supportability and code readability.
I thing this will be best choice for you.
(similar frameworks exist of course)