Tagged Questions
30
votes
4answers
33k views
Reasons NOT to use JSF [closed]
I am new to StackExchange, but I figured you would be able to help me.
We're crating a new Java Enterprise application, replacing an legacy JSP solution. Due to many many changes, the UI and parts of ...
24
votes
5answers
6k views
Pros and cons of an HTML/JavaScript only web app
I come from an ASP.NET forms background and have found server side coding very powerful in the past. More recently, however, I have been wanting to phase out the server side code of the front-end and ...
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 ...
13
votes
5answers
6k views
What advantages are conferred by using server-side page rendering?
I am developing a web app and I have currently written the entire website in html/js/css and on the backend I have servlets that host some RESTFUL services. All the presentation logic is done through ...
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 ...
10
votes
10answers
4k views
Do I have to learn html and javascript to create web applications?
I am an experienced Java programmer, and I want to create a complex web application requiring dynamic pages, drawings, etc (take SO as an example). Do I have to learn javascript/html in order to ...
10
votes
4answers
612 views
How does the GPL work in regards to languages like Dart which compile to other languages?
Google's Dart language is not supported by any Web Browsers other than a special build of Chromium known as Dartium. To use Dart for production code you need to run it through a Dart->JavaScript ...
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
3answers
618 views
Using CSS classes as decorators - a good pattern?
I've been building a web-app with a fairly complex GUI - many small elements alongside eachother and within other elements that need various behaviours (dragging, clicking, but context-sensitive).
My ...
7
votes
2answers
1k views
Are there open-source JavaScript libraries addressing multiple browser tabs and client state for newer browsers?
There are a few new HTML5 features that have made it into recent browsers that allow sharing state among tabs, browser windows, same domain windows, etc. So it's probably gotten a little easier to ...
6
votes
2answers
463 views
Practices for domain models in Javascript (with frameworks)
This is a question I've to-and-fro'd with for a while, and searched for and found nothing on: what're the accepted practices surrounding duplicating domain models in Javascript for a web application, ...
5
votes
4answers
3k views
What to call pure JavaScript standalone (web)apps for which I've not written any server side code? [closed]
I've been writing a few tools as standalone webapps for which I have written no server side code and it strikes me that I'm not sure what people call such things.
I like them because they can be ...
4
votes
9answers
676 views
What is the best way to load balance javascript applications? [closed]
I write a lot of javascript applications and in many different circumstances the browser will become unresponsive or give a "slow script" error. Even when following best practices, initializing large ...
3
votes
1answer
2k views
How do I decide what testing framework to use?
The situation is this.
I'm a junior developer for a small government IT project. We don't have anything of continuous integration or a automated testing framework. But the idea is to be developing ...
3
votes
3answers
228 views
JavaScript Architecture, Tools, Compatibility and Pitfalls
I am thinking through how I will use JavaScript for a project which is just in its beginning of coding. I am not an expert in JavaScript, but I recognize it as a very important part of the site so I ...
3
votes
3answers
596 views
Single click handler for all buttons in Javascript? Is it a pattern? Whats the benefit?
I have been told that when there are multiple buttons on the page for same purpose but targeting different item e.g. delete item on a grid of items, they say it is recommended to just register for ...
3
votes
4answers
258 views
Evidence of Bad Design: Updating feature A breaks/interferes with existing feature B
I am working on a Javascript Web App & I am finding as I expand the program & add new features(new animations) it causes existing features to break or work differently than prior to adding ...
3
votes
1answer
337 views
What is a good tag management system?
I work for a publishing company where we have to track converts, etc. Suffice to say we have tags for different areas of the world, and the list can get very large. We need to find a systemt that can ...
2
votes
2answers
435 views
Power of HTML5? [duplicate]
HTML5 is becoming more and more popular everyday. Many great online applications are now being created and described as pure HTML5 apps. (Like Muro)
But I don't understand what is exactly so cool ...
2
votes
1answer
180 views
What is meant by sandboxing?
Sanboxing is listed as one of the many security features in html5 specification . Can someone explain what is meant by sandboxing? Does it relate to HTML only or to JavaScript also?
2
votes
1answer
857 views
best way to store data from ajax call
I am writing a web-application in which I am retrieving data's from server through AJAX requests and the generate HTML content dynamically.
I have some data to load, generate HTML from it and append ...
2
votes
2answers
1k views
how to choose a web framework and javascript library?
I've been procrastinating learning some framework for web apps w/ some library for AJAX, something like django with prototype, or turbogears with mootools, or zeta components with dojo, grok, jquery, ...
2
votes
3answers
2k views
REST API at backend and MVC Javascript framework at client side
I am building an online social network. I have finished writing RESTful API service using Django. This will return only JSON response (No HTML will be generated from server side) so that this JSON ...
2
votes
2answers
3k views
When to use JavaScript instead of Ruby in web development?
Right now I am developing web applications with ruby-on-rails. Sometimes I am having a hard time deciding which language to chose to solve my problems.
The difference between HTML,CSS and the ...
2
votes
1answer
168 views
Build status reporting on javascript project
I have a javascript project which uses Grunt and several plug-ins such as:
jshint
qunit
requirejs optimizer
Not all of the developers run the grunt tasks locally (e.g. jshint, qunit), so they ...
2
votes
2answers
621 views
Client-Side V.S. Server-Side Searching?
I am currently helping to design a web site and application in HTML. We would like the user to be able to search the site/app for desired content via a search bar. We would also like to include an ...
2
votes
1answer
352 views
Pushing changes to an open web page
I have a warehouse management app that I have written that handles batching of orders for batch picking, scanning of items for packing and accuracy. Part of this app is a Dash or control panel that ...
1
vote
3answers
163 views
Protect Images in a Webpage
I want to build a website that will contain a lot of images. I don't want users who visit the website to be able to save the images.
I have blocked the right click option, but is there any other ...
1
vote
3answers
2k views
Why did Google develop a cross-compiler from Java to JavaScript? [closed]
Google developed a cross-compiler from Java to JavaScript. Why did they do this? Does this mean that JavaScript is not good enought for developing advanced web apps?
1
vote
3answers
150 views
Javascript and web application data
I am pretty new to Web Application programming and so to OOP Javascript and the new Client-Server interactions.
I am encountering some trouble wondering about how much AJAX I should use or how much ...
1
vote
1answer
394 views
Where to start in developing a game engine as a web app
I have to create a web application, preferably I would host that on Google App Engine. it is a multiplayer game, So it needs to be interactive. I am only familiar with C/C++ coding, and have started ...
1
vote
2answers
222 views
What is the applicability of CORS?
I have a system which needs to do cross-origin requests and having trouble understanding the relevance of CORS. At first glance it doesn't appear to provide me with any type of security I'd actually ...
1
vote
2answers
1k views
Why did javascript libraries like knockoutjs, backbonejs, and angularjs only come out in 2010?
Being a relatively new web-developer I am surprised that these libraries didn't exist before. Is there a particular technical or historical reason that at around Sep 2010, a sudden development and ...
1
vote
2answers
226 views
How to handle editing a large file for a non-technical user
I have a client who is given a tab delimited .txt file containing hundreds of thousands of rows.
I have a user story as follows:
As a user I want to take the text file and add a new value at the ...
1
vote
1answer
492 views
Handling a request to override browser behaviors (Back and Refresh)
I'm a new guy in this company and I've been tasked to research on possible workarounds with the browser behaviors to cater to the demands of our client.
A little background; what they want is to ...
1
vote
2answers
130 views
How would I implement this application idea?
I am a D&D gamer and a developer that has mostly worked with ASP.NET applications professionally. I have written some chat bots in Node.js and I have only played a little with PHP but wrote ...
1
vote
2answers
388 views
Which web framework to use under Backbonejs?
For a previous project, I was using Backbonejs alongside Django, but I found out that I didn't use many features from Django. So, I am looking for a lighter framework to use underneath a Backbonejs ...
1
vote
1answer
607 views
Organizing large Javascript applications - The view layer
Today Javascript application of a relevant size become more and more common, and as the need arises, certain patterns are identified to manage the code complexity.
I try to follow good advice, but I ...
1
vote
1answer
610 views
Best way of Javascript web development in Netbeans (Hot deployment)
I'm beginning Javascript development and as a beginner in JavaScript I make a lot of mistakes. The way I'm developing is very counter-productive because every mistake I fix I have to shutdown ...
1
vote
2answers
257 views
Should you use PHP to render the html page or use javascript frameworks? Server-side page rendering or client-side page rendering? [closed]
This may be a inappropriate question, but I'm really need help demystifying this.
Suppose we want to create web application like reddit or Gmail. The way I understood it from my research is that ...
0
votes
3answers
4k views
Alternatives to Java Applet for interactive Websites
In short I am searching for an alternative to Java applets for making some interactive parts like minigames etc. on my website
Facts:
Iยดm developing an e-learning website for children.
This site has ...
0
votes
4answers
88 views
HTML - Alternative for ID when ID is only unique within a certain scope?
So I feel like this should be a common question but I can't find the answer. Maybe I'm using the wrong terminology.
Assumptions:
IDs are supposed to be unique across the document.
Class attributes ...
0
votes
3answers
212 views
Learning how to integrate JavaScript with other languages [closed]
After learning JavaScript syntax, what are some good resources for learning about integrating JavaScript with other languages (HTML, XML, CSS, PHP) to create real, useful applications?
I'm most ...
0
votes
1answer
175 views
Image Processing in browser is too slow on Android compared to that with desktop browser [closed]
Situation
I've written a simple black and white image filter application with JavaScript using html5 canvas. Here is an example of the app . (I don't know why it does not work in jsfiddle, so I gave ...
0
votes
1answer
209 views
HTML markup vs programmatic JS
I've been thinking about the consequences of using programmatic JavaScript components versus HTML markup. For example I looked into the Enyo Framework, which has its power in composition. One can ...
0
votes
1answer
392 views
How to structure our Javascript so that it is easily editable, testable, and can make calls to render a view without knowing specifics about the view
I am working on a web app that displays some data and uses javascript.
Right now, we are serving up parts of our js (to display certain types of information, ie "Render a View") via our server which ...
0
votes
1answer
122 views
Handling and organizing data from save file?
I'm working on a webapp (python/javascript) to modify a game's save file. The file has certain bytes representing player information, such as the gun, the equipment, etc. The idea is to show an ...