Tagged Questions
3
votes
3answers
169 views
Bothering to cater to non-JavaScript clients? [duplicate]
Considering that it's April, 2013; do I still need to worry about non-JavaScript capable/enabled clients?
Note: This question excludes having helper text with: JavaScript is required to view this ...
-2
votes
0answers
83 views
What is the best Design Pattern to use with sports Tournament chart [closed]
I'm trying to create this Tournament seeding chart ( much like a binary tree). Is there a design pattern that I need to use in order to maintain the binary tree when rankings change?
Here is an image ...
2
votes
1answer
132 views
Shift Javascript framework - What pattern is this? MVP, MVC or something else
I have created a very tiny framework to be able to get away from all the clutter while developing. The point of the framework is not to replace any library of choice but simply segregate the code to ...
36
votes
6answers
2k 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 ...
0
votes
1answer
233 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 ...
12
votes
4answers
355 views
What are the Advantages of a “Combined” Getter/Setter VS Individual Methods?
This is what I call a "combined" getter/setter method (from jQuery):
var foo = $("<div>This is my HTML</div>"),
myText;
myText = foo.text(); // myHTML now equals "This is my HTML" ...
1
vote
4answers
365 views
Most fitting Javascript framework for C# developers? [closed]
Being a .Net developer for years, practicing SOLID principles, TDD, and other Clean Code practices - I am facing now a new project (greenfield) with strong client side code.
I wish to address my ...
6
votes
1answer
150 views
Event Aggregator.. not getting a response, how to determine completion?
I'm rewriting a vehicle tracking application, a google maps based thing..
The users are able to search for a vehicle by typing a few characters of the vehicles "callsign".
My application is based ...
8
votes
3answers
1k views
Are UML class diagrams adequate to design javascript systems?
Given that UML is oriented towards a more classic approach to object orientation, is it still usable in a reliable way to design javascript systems?
One specific problem that I can see is that class ...
5
votes
13answers
645 views
Limitations of Polymorphism in statically typed languages
I program mostly in statically typed languages, like C++ and Java. A common strategy employed in languages like these to handle dealing with collections of objects which are related, but which need ...
31
votes
16answers
3k views
Should I continue my self-taught coding practice or learn how to do coding professionally? [closed]
Lately I've been getting professional work, hanging out with other programmers, and making friends in the industry. The only thing is I'm 100% self-taught. It's caused my style to extremely deviate ...
3
votes
4answers
225 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 ...
2
votes
1answer
214 views
How can I refactor client side functionality to create a product line-like generic design?
Assume the following situation similar to that of Stack Overflow: I have a system with a front-end that can perform various manipulations on the data (by sending messages to REST back-end):
Posting
...
3
votes
1answer
253 views
Does anyone have suggestions for design or open source libraries specifically for a single page AJAX application?
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 ...
9
votes
6answers
605 views
JavaScript - Why do frameworks bind to $() [closed]
Disclaimer: I know there is no strictly correct answer to this, but I've come across something that does not make sense to me, and I'd like to try to understand it better by seeing what other people ...
5
votes
3answers
835 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 ...