Combining JS Frameworks [closed] - javascript

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
From an experienced developer's perspective, is bad practice to create a web application using multiple JS frameworks ?
For example, if you start using AngularJS and if some tasks of the project can be done easier with JQuery, should you go for it, or try to make that part in Angular too ?

In my opinion, a framework should only be used if it's absolutly necessary. E.g if you do lots of DOM work, jQuery is the right one.
But, if you need a mvn framework, go for angular/backbone or something like this.
Tio many people today think that for each and every single problem, a framework is the best solution.
Sometimes, it could be the best solution to use 2 frameworks. E.g. jQuery + lodash.
So the answer is... It depends on the type of application you want to develop. My approach would be to allways ask whether the framework is really needed, or if you maybe just need a single function that you better could write on your own.

Related

Can I avoid using Jquery? [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
This is actually not a technical question ! Im learning Javascript (I started a few months ago with AngularJs for a big school project) and am now focusing on plain Js, and Im still quite a noob but Im starting to get the 'abstract logic' of it and im having fun.
I 've often heard that jQuery was a bit 'hacky' and not always a clean way to achieve things, but it does work efficiently. My question is: can I keep it to 'good ol' Js forever or will I inevitably have some day to use jQuery for tricky things? Can I have your advises on that? Thanks !
(sorry if Im not in the good section?)
I think this question might be better suited for r/webdev.
But yes you can avoid using jQuery altogether. jQuery is great for DOM manipulation. It has a stigma for turning large projects with a lot of jQuery into 'spaghetti code' but it is still widely used. That being said, whatever you can do in jQuery can be done in different ways using JS, CSS or HTML.

Should I rewrite my entire JavaScript code into jQuery? [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'm currently developing a web application and I was forced to use jQuery for some animations and other specific purposes, but still most of my code is written in JavaScript.
Should I rewrite these JavaScript modules if after all jQuery is being loaded every time? I know that in some cases it is better to use JavaScript instead of jQuery because it is faster and some other advantages but I'm already using jQuery throughout the page and I'm wondering should I use it everywhere instead of loading the whole library for few chunks of code.
Will there be any significant difference in the performance if the library is already loaded?
There won't be any difference, the Javascript speed is better. The performances wihout libraries still better. So keep your modules
Its up to you.
If you don't like to use any JS library, then you have code a lot.
The current jQuery v1.12.2(supports IE 6,7,8) size is 97kb. You use CDN version to reduce the loading time of it.
Will it affect the performance?? Yes, a bit it will do.
You didn't mention whether you are making any XMLHttpRequest;
if so, its better to use jQuery for better cross browser compatibility.

How to get the data I need from airbnb web page? [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 8 years ago.
Improve this question
I want to get the dates booked and price from the the airbnb page: https://www.airbnb.com.sg/rooms/2781352 under the "Calendar" tab of it.
I am quite newbie to this, and I want to python to do that, can I?
And what else should learn, javascript, PHP?
For extracting data from web pages, my first stop is Beautifulsoup. It is designed for just this purpose, and is excellent at it. Combine it with the great requests HTTP library (so much better and easier than urllib/urllib2/etc.) for getting the pages.
Both of these are Python modules, there is no need to learn any other programming languages to do it, although it greatly helps to have an understanding of HTML and DTDs (Document Type Definitions) for setting up paths.

If my main skill is javascript than which other skills would complement it best [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
So if i excel at javascript than learning what other libraries, languages, framework, business related things would help me improve as a developer and get hired.
I know just knowing js isn't enough and that developer must know some basic stuff like
jquery, css3, html5, etc.
But what else.
I rarely see a job in which it says you need to know javascript there are always a lot of something else.
Well this is not the perfect place to ask this question but to help you I would like to suggest you some options.
If you are aiming to become a full-time front-end developer then along with the Javascript you must have excellent knowledge of HTML5, CSS3 and JQuery.
Also you must start practicing at least two of the following JavaScript frameworks:
Angular JS,
Node JS,
Grunt,
Dojo,
MooTools.
It would be good to have knowledge of SASS & COMPASS as well.
A good knowledge of Photoshop or Illustrator is also required.
Rest you can research yourself and choose as per your choice.
Best of luck!!

Help impress interviewer with javascript and jQuery skills [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
One of the interviewers asked to impress him with the JavaScript and CSS skills. He provided a link to two websites and asked to write a JavaScript application (page or pages) that takes content from one or both of these websites and demonstrates my command of jQuery and CSS. It doesn’t have to be useful to end-users, but it should be interesting to programmers.
What interesting things should I write? What would impress you in the candidate?
P.S.
The sites have real-estate information.
So, what would be the best way to read information from a given URL and extract some of it using jQuery?
That interview question is so subjective. What impresses one person might be basic to another. Why not ask a more meaningful question that demonstrates whether or not the candidate actually knows the language.
With all that said and if you really want to work for this company, I would study up on the basics of both js and jquery and really learn how to optimize basic functions. If you had to impress me then you should try to optimize a block of code as best you can without making the code unreadable. There's nothing better than clean, fast and readable code.

Categories