Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

MVC Javascript Framework For AJAX Apps

hofmny (1517499) writes | more than 5 years ago

Programming 0

hofmny (1517499) writes "I recently embraced the MVC paradigm while building a new system for a job I am doing, and it has revolutionized my ideas on system design. Everything is modular, making it easy for multiple programmers to work on different sections and share code while significantly reducing development time. I chose to use Zend Framework, because I found it the most supported and versatile, while not forcing you to use any of the Zend packages if you don't want to. However, I am doing heavy AJAX coding and my JavaScript is not revolutionized like my back end code is. It consists of two or three JS files containing a bunch of functions, and while they are well named, I fear it is going to start growing unmaintainable soon. I am using JQuery as a Toolkit, but I would like to know if there is some sort of MVC framework I can use for JavaScript to match my MVC back end to have the same wonderful qualities that MVC gives. I would really like it to work hand in hand logically with the controller and views in the back end. I found only one real MVC JS framework, JavaScriptMVC, but it is beta and the docs are under construction. What do other people do to organize their JavaScript code (when using an existing toolkit, like script.aculo.us or JQuery) to make their AJAX applications as extensible and organized as their back end code?"

cancel ×

0 comments

Sorry! There are no comments related to the filter you selected.

Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>