Java script and full-stack JavaScript difference? [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 5 years ago.
Improve this question
What is difference between JavaScript and full-stack JavaScript.
Both are same or not.

Full stack - in simplification - generally means Front-end and Back-end. You can do backend with NodeJS, and do frontend with frameworks like React or Angular. All with Javascript.

First off, JavaScript is a programming language, no matter if it's used in the browser, on the server or compiled into apps and desktop programs.
Generally, as #Tomasz wrote, with full-stack people refer to developers that can develop on all (or at least multiple) platforms, but it's still the same language. The difference lies in the usage of certain special bits of (third-party-)code.
Node has packages and many platforms (like electron) use those to accomplish their usage of the language.
On the frontend you'll likely find frameworks that make it easier to interact with what the user sees.
So to answer your question, yes, both are the same language, but they are not the same thing.

Full stack: Backend(Server Side) + Front-end(Client Side)
Backend Technology: NodeJs (Role of Backend Technologies)
Front-end Technology: React Js, Angular Js etc. (more)
For More Detail read the following URL:
Is it possible to write the backend using JavaScript?
https://airbrake.io/blog/javascript/javascript-frameworks-love
http://thefullstack.xyz/full-stack-javascript-developer/
https://www.smashingmagazine.com/2013/11/introduction-to-full-stack-javascript/

Related

Can you use Python for both front end and back end using Django framework? [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 5 years ago.
Improve this question
I'm watching the udemy Django tutorial that requires using JavaScript as the front-end and Python for the back-end:
Can you replace JavaScript with Python?
What are the advantages and disadvantages of that?
No, python can't be used in frontend.
You need frontend technologies like html, css, javascript, jQuery etc...
for frontend.
Python can be used as scripting language in backend.
As others already said, basically you can't use Python at the front-end. You can use Django Template Language or something like Jinja2 in your templates, but generally speaking these engines run on your server, not in the browser.
Actually, you can use Python to write the code, that runs in the browser, using transpilers like Transcrypt. But I don't recommend you to do such a thing on a real project because of raising complexity and difference between these two languages. The only advantage would be that you can use one language to write both front-end and back-end. But the complexity of supporting this code will not worth it.
Its true that you can do something interesting with Django template system. but like #Astik said you cant replace javascript in front end. Personally I don't use javascript for some Django projects because I don't need it, but there are many situation that I have to. However that depends about your project is going to work.
Something better than Django templates system is jinja2 read more about it maybe help you

Build a Task Management App using 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 6 years ago.
Improve this question
I am looking to build a Order Management and Task Management App for my company. I am a beginner in Programming and know only Javascript (Can manage with HTML and CSS ) . This app would also require to connect with a database. Is it possible to build it only using Javascript (without the use of any other languages like PHP etc) and is it advisable. Is there any other more feasible solution.
If Javascript will suffice, a few more queries in the same line
What database would be the best to use ?
Would using Angular JS help ?
How do I search and use if theres a similar project in Github that runs only on Javascript ?
suggest you read more about the MEAN stack, it's a very popular stack that let you build the whole stack (DB, Server side logic, Client Side logic) with Javascript alone.
in short:
MongoDB, a NoSQL database
Express.js, a web application framework that runs on Node.js
Angular.js, a JavaScript MVC framework that runs in browser JavaScript engines
Node.js, an execution environment for event-driven server-side and networking applications
using the angular JS is optional in my opinion, it is required if you want to make it to feel as single page app.
try this on github, an example for MEAN stack.
You have to Choose
Nodejs Server (Javascript)
AngularJS Client (Javascript )
Mysql Backend
They are More Flexible with friendly Solutions
You could build and host your app on something like https://firebase.google.com/ - build the entire thing in eg polymer and let google host it, that way you'd be building the thing entirely in JS, no other language required

Do I need to know Javascript, jQuery, JSP, PHP to make large scale complex android apps? [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 7 years ago.
Improve this question
I know that JAVA is the main language used to make android apps. But is there any necessity of other languages such as Javascript, jQuery, JSP, PHP to make great android apps? please note that I am not talking about a simple "hello world" android app. I am talking about large scale complex apps.
Well, it dependes on what exactly the application does. If you require to have, for example, an API on a server to which you can make requests (and you want to develop the API yourself), you need to know those "languages". If the application is complex but it's contained within itself (that means that it doesn't require from you to develope on a server-side language), the only thing you need to know is Java.
On the other side, you don't NEED to develope those server-side applications yourself. You can build the app entirely on Java and consume the data from the servers, leaving the programming of the server-side applications to a third-party (like a freelancer).

Uses of javascript, not just for aesthetics but uses on the server side [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 9 years ago.
Improve this question
I have read this article (Uses of Javascript), while it is right I know there are other uses of javascript, modern javascript nowadays. I haven't read about node.js and how this one works but I have heard that this one makes js do server-side stuffs?
The question is, what are other uses of javascript, can this replace php and ruby? I know this might not be a good idea for enterprise applications but will work well with medium-size applications, am I right?
What are the other uses of javascript other than the one given in the article?
Javascript can very well be used server side. If you're on an IIS server, you can for example use JScript, nodejs, v8cgi (currently known as TeaJS), or a combination of these. On *nix servers nodejs is a popular framework. Nodejs can even be used to program your own webserver (e.g. using the expressjs framework).
Dive in the given links and see what's possible.
There is TESSEL and Espruino javascript inside microcontroller.
I use Node.js for web application for few years, few projects and really happy so far.
The Express.js + MongoDB makes a perfect match (exactly as PHP + MySQL, 5 years ago). You can find reference on MEAN stack.
It works good no only for small applications. We have medium-size app that could be easily scaled up.
Node.js is not to about substitute PHP or Ruby, but what's happening now is indeed, it's more and more used for web applications nowaday. The reason is simple, Node.js has "web-oriented" core, meaning it's originally created to aim highly productive tcp/http applications. With some progress beautiful web development frameworks appeared on top of Node.js that makes web application development even more easy and fun.
For me, programming Node.js on server makes a lot of sense, since JavaScript is main client-side language (almost without alternatives), so context-switching between client/server programming is less. With practice you get use to some initial JavaScript weirdness and things goes smooth and nice.

Promising alternatives for javascript framework? [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 9 years ago.
Improve this question
Popular JavaScript frameworks/libraries like jQuery, MooTools, Prototype, and YUI (to name a few of the most popular JavaScript frameworks out there) definitely have a solid foothold in the JavaScript framework arena.
But for the more adventurous developers looking for new or alternative frameworks/libraries, there are options like:
SproutCore
Spry
JavaScriptMVC
qooxdoo
midori
Archetype JavaScript Framework
June Framework
UIZE
SimpleJS
Fleegix.js
Each one has its own merits. But which is preferable for what over which?
I think server-side javascript has an exciting future.
Things like node.js and jaxer might pave the way for an environment that makes a compelling argument for writing an application strictly in javascript. There's a lack of frameworks right now, and a lack of general javascript libraries (for things other than traversing the DOM ;) but that might change.
I can't tell you how many times I've wished I didn't have to port over various bits of model code to javascript, or resorted to RPC style requests just so I don't repeat myself. I can port the drawUserVcard() function to javascript (say, from Python) so that I can generate a vcard dynamically on the frontend from json data, but then I have consistency issues because my ported code needs to track the original Python generated result.
Aside from server-side "don't trust the client" operations, a lot of processing can be offloaded to the user. Why print HTML in Python/PHP/Ruby? Actually, none of those languages have an API as nice as jQuery for HTML manipulation. Why query a database in Python just so you can generate some json that you pass off to your client scripts? Why not just read json data directly (CouchDB) from the database and let the client hydrate it.
There's so much room for improvement here.

Categories