Tagged Questions
68
votes
27answers
7k views
How important is graceful degradation of JavaScript?
Should web developers continue to spend effort progressively enhancing our web applications with JavaScript, ensuring that features gracefully degrade, thereby ensuring accessibility? Or should we ...
67
votes
20answers
13k views
Should I bother to develop for JavaScript disabled? [duplicate]
Should I bother to develop for JavaScript disabled?
I feel that my time is better spent developing for the majority.
40
votes
8answers
17k views
Why do people disable JavaScript?
I asked a question yesterday Should I Bother to Develop For JavaScript Disabled?. I think the consencus is: Yes, I should develop for JavaScript Disabled. Now I just want to understand why users ...
40
votes
13answers
4k views
Is it considered bad practice to have PHP in your JavaScript
So many times on this site I see people trying to do things like this :
<script type="text/javascript">
$(document).ready(function(){
$('<?php echo $divID ?>').click(funtion(){
...
39
votes
6answers
3k views
How safe are hidden AJAX requests that fake performance?
What is a hidden AJAX request?
I've noticed an increase in the usage of hidden AJAX requests designed to make a user's action appear to happen immediately. I'll refer to this type of AJAX request as ...
29
votes
10answers
4k views
Why aren't there other client-side scripting languages for websites? [closed]
Why is there just support for JavaScript and some VBScript in browsers today? I know JavaScript is good and all, but wouldn't having the option of using another programming language help promote ...
28
votes
5answers
2k views
Referencing external javascript vs. hosting my own copy
Say I have a web app that uses jQuery. Is it better practice to host the necessary javascript files on my own servers along with my website files, or to reference them on jQuery's CDN (example: ...
26
votes
10answers
3k views
Is it worth moving from Microsoft tech to Linux, NodeJS & other open source frameworks to save money for a start-up?
I am currently getting involved in a startup, I am the only developer involved at the moment, and the other guys are leaving all the tech decisions up to me at the moment.
For my day job I work at a ...
21
votes
6answers
3k views
What is the motivation behind TypeScript?
We had JavaScript, then we had Flash, then we had Silverlight and then HTML5 ownd them all.
So what is the motivation behind TypeScript? What problems are going to be tackled and what improvements ...
19
votes
13answers
6k views
What benefits are there to native JavaScript development?
Given how much simpler jQuery development is, when compared to native JavaScript, what makes people forgo libraries like jQuery altogether?
Is this because jQuery has limitations or it is slow? I ...
17
votes
6answers
43k views
How should data be passed between client-side Javascript and C# code behind an ASP.NET app?
I'm looking for the most efficient / standard way of passing data between client-side Javascript code and C# code behind an ASP.NET application. I've been using the following methods to achieve this ...
12
votes
4answers
22k views
What is a good IDE for client side JavaScript development? [closed]
I recently started learning JavaScript and am looking for a good JavaScript Editor/IDE. I found dozens of them in a Google search but I would appreciate if users who have experience with using such an ...
11
votes
6answers
3k views
Should I learn Javascript before Coffeescript?
I'm a reasonably experienced programmer trying to learn web developement. I'm trying to develop a client-side web application which uses svg or canvas for graphics. I've decided I'd like to write ...
11
votes
3answers
589 views
JavaScript and the paradigm shift in web programming
If my memory serves me right, there was a time when using JavaScript for web development was hugely frowned upon, because among other things, it was a privacy and security concern for users and some ...
11
votes
6answers
880 views
Common Javascript mistakes that severely affect performance?
At a recent UI/UX MeetUp that I attended, I gave some feedback on a website that used Javascript (jQuery) for its interaction and UI - it was fairly simple animations and manipulation, but the ...
11
votes
4answers
13k views
Which Java based web ui framework to use? [closed]
Wicket
Click
GWT
Vaadin
As I understand them, these frameworks all enable gui components to be created using java (with all its benefits) without having to do lots of html/javascript.
As well as ...
10
votes
6answers
2k views
Web Developer and Math [duplicate]
I have just learned HTML/CSS and I practice everything I read to make it more understandable to me and I really enjoy it. My goal is to be a Modern Web Developer both front and back-end, so I won't ...
10
votes
4answers
476 views
Has the time gone to think about user with JavaScript disabled in browser? [duplicate]
Possible Duplicate:
Should I Bother To Develop for JavaScript Disabled?
In this Modern time of
HTML5 API
jQuery
Modernizr
HTML5 Shim
Respond.JS
Google Chrome app store
Canvas
Has the ...
10
votes
6answers
2k views
How do I make sense of the javascript frameworks explosion ? Should I learn them all? [closed]
For a beginner web developer who is still doing web development the conventional way (PHP/J2EE/Struts on server side, HTML/CSS/Javascript on client side), I was bowled over by the recent blog post on ...
10
votes
2answers
289 views
How do mashups work with same-orgin policy?
If Javascript is only allowed to access scripts from the same domain, how can a website create mashups which must read and modify content from another domain?
9
votes
15answers
2k views
Is obtrusive JavaScript ever ok?
I was thinking that if all the users of a website are required to have JavaScript enabled, Is it ok to use obtrusive JavaScript?
I'm all for progressive enhancement, but what's the point when an ...
9
votes
4answers
3k views
JavaScript Multi Threading
Well these days JavaScript is main player in all web development technologies , on client side for making user interface better, client side logic, on some web servers as server side logic also
Add ...
9
votes
4answers
1k views
Are there any limitations of an idealistic HTML5 web application
Let's assume the following two assumptions are true.
Your entire userbase has broadband access everywhere
There is an imaginary browser X that implements the entire draft specification of the HTML5 ...
8
votes
8answers
2k views
Rush to client-side in web development
In the past few months, I recognized a big excitement about client-side scripting in web development. But while server-side technologies are mature, stable and well accepted by backend-developers, ...
7
votes
5answers
2k views
PHP, HTML, Javascript and writing good practices
I realized I have to write down a convention specification about HTML, JavaScript and PHP coding for me and my team.
In web development, just like in C++, I'm definitely a fan of indentation and ...
7
votes
4answers
2k views
Where to master HTML, CSS and Javascript? [duplicate]
Possible Duplicate:
What should a developer know before building a public web site?
I gotten interested in web-development lately. I am still a student. I learnt basics of HTML, CSS and ...
7
votes
5answers
1k views
What are the steps to learn AJAX based web application development? [closed]
I am a complete starter in web development, as I know only basics of HTML and CSS, although I have a history of desktop development. What is the usual roadmap to get started in web apps, based on ...
6
votes
5answers
379 views
What does it mean for software, libraries, and languages to be asynchronous?
With popular software out today like Node.js, Celery, Twisted, and others boasting about being asynchronous, what does it mean?
I've gone through the basic Node.js tutorials and written a few ...
6
votes
2answers
876 views
Web development in a small team - best practices
Currently developing a web app in a team of two maybe three in the near future. Tech stack is at the moment : flask, mongodb, and extjs for the fontend. I currently have the project under version ...
6
votes
3answers
2k views
Responsive Web Design vs. User-Agent Sniffing
The CSS3 media query feature has led to many interesting possibilities in terms of developing websites which adjust to many different screen sizes and devices.
However, in practice, I'm starting to ...
6
votes
3answers
665 views
Is there a canonical book on creating highly interactive websites (eg. “Flash” like) with HTML5/CSS3/JS/jQuery? [closed]
I know some of the basics of these technologies already, but it is mostly limited to more static sites. Using things like HTMl5 semantic elements, CSS3 gradients, shadows, @font-face etc.
Is there a ...
5
votes
6answers
14k views
Can You Make An Entire Website With JavaScript?
I have looked at the aims of Java-script and it intends to provide and enhanced user-interface and dynamic websites. I am trying to get into the Web Development Business and am learning Javascript. ...
5
votes
3answers
555 views
What are the disadvantages of unobtrusive script patterns in web applications?
First of all, is there a name for this as a bona-fide design pattern? Currently I've just been referring to it as "unobtrusive javascript". Here is a brief example of what I am talking about:
1.) Use ...
5
votes
5answers
2k views
Building a website, want to use java
I'd like to make a simple-ish website that is essentially a small game. Key strokes are to be processed and sent to a server (already acquired and should support SQL and JSP, I believe) which then ...
5
votes
2answers
482 views
I'm using JSON and degrading gracefully, so how do I prevent duplicate code?
There are a bunch of questions on Stack Overflow about whether AJAX should return JSON or HTML, and most seem to agree that it is ideal to return JSON for the sake of speed. However, that means that ...
5
votes
2answers
533 views
Client-side javascript: How to include third party frameworks?
When developing web apps you often build your app on top of some frameworks like Twitter's bootstrap. These frameworks come with less/sass/stylus, javascript, images and sometimes webfonts.
I'm ...
5
votes
3answers
311 views
Compiling multiple languages and Javascript
I have read numerous times that programming languages when making games or large software often use multiple languages / scripts together. I'm wondering how that works. How do they compile it? How ...
5
votes
1answer
419 views
What is the proper way to create a cross-fade effect?
When creating an image slider, using a cross fade is one of more popular effects. Various sliders use differing techniques to create such an effect. Major techniques I've found so far are:
Method 1: ...
5
votes
3answers
2k views
Javascript, Text Annotations and Ideas
I am very curious to hear input from others on a problem I've been contemplating for some time now.
Essentially I would like to present a user with a text document and allow him/her to make ...
4
votes
3answers
3k views
Building web apps in server-side vs client-side vs hybrid? [closed]
There are currently multiple approaches for building web applications:
1. Server-side only
This is a classical approach where you render pages on the server by a web framework like Ruby on Rails, ...
4
votes
4answers
1k views
Is it possible to develop a web application entirely in Javascript today (client and server) including a RESTful API exposing PostgreSQL data?
Where I work we have over a dozen internal SW systems that we have developed in-house using a variety of technologies, frameworks, and languages. Those include various from Microsoft (ASP.NET Web ...
4
votes
2answers
2k views
How to structure a modern web application
Background
I recently developed, for two different projects, two web applications.
The two followed quite different approaches. The first one was a classic inventory application (lists of stuff to ...
4
votes
1answer
354 views
Does anyone have suggestions for design or open source libraries specifically for a single page AJAX application? [closed]
I'm working on a major new version of a browser based application and I'm looking for comments/suggestions about the architecture/design.
It's a single page application using AJAX and client side ...
4
votes
2answers
270 views
Can the overuse of custom taglibs disrupt the outsourcing of html designers?
Yesterday me and a friend were talking about the overuse of custom taglibs.
We create taglibs for everything. We create taglibs in order to wrap jQuery UI elements (tabs, button, etc), and other ...
3
votes
5answers
667 views
Is the JavaScript syntax the same for all browsers?
As for interacting with the DOM, different browsers will offer methods -and results- that are different between them to some or other extent.
But how about JavaScript itself? Do all browsers (or ...
3
votes
2answers
315 views
Why to keep wrapping closure in each js-file if it can be added after concatenating?
At the moment every javasrcipt file in our project includes closure wrapper. Before deploying all files are concatenated and minimized.
And i'm asking myself, do we really need all that closures OR ...
3
votes
2answers
877 views
Raw JavaScript or jQuery? Where to start from? [duplicate]
Possible Duplicate:
How necessary is it to learn JavaScript before jQuery?
I've been working as a back-end web developer for the last 2 years but since the beginning of this year, i'm ...
3
votes
6answers
583 views
When to use a API/Library and when to write your own?
I am working on a large website and having been thinking a lot about when I should be using a 3rd party API/Library and when I should be writing my own implementation from scratch. There is no Library ...
3
votes
2answers
573 views
Examples of MVVM adoption outside the Microsoft community?
IS MVVM getting any kind of traction outside the Microsoft community? Within Silverlight this is a non-issue, but for other technologies, like JavaScript it surely is: For instance Knockout.js is a ...
3
votes
1answer
188 views
How is the DOM language independent?
Quoting from Wikipedia
The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents.
and ...