1

i build hr, accounts and other management system with laravel at backend. Ajax is used in many pages for pagination, crud operations and for other purposes but website is not completely based on ajax. does backbone or other javascript mvc is suitable to manage front-end or jquery alone can handle this

i want to explorer backbone and other front-end frameworks but wonders that it increase complexity at frontend

2 Answers 2

2

Generally backbone is used for highly ajaxified websites. So if you are not using ajax to that limit, according to me jQuery itself is capable to handle it.

Sign up to request clarification or add additional context in comments.

6 Comments

jquery is light-weight, efficent and easy to learn an apply but i feel it doesnot help me to write well managed code
If you want to write well managed code, definitely MVC structure is a better option and for that use of backbone is highly appreciated.
does frontend MVC help me to write managed code without increasing much complexity at frontend? also capable of handle multiples pages b/c this is not an single page app.
yes it is not that complex. I have also worked on it. Infact you will find your code much cleaner after using this. It works on multiple pages but in case of multiple pages its main style of working i.e. "using hash" will be of no use
As a new backbone user I highly recommend you checkout one of the many backbone.js frameworks. - marionettejs.com - github.com/chaplinjs/chaplin - github.com/tbranyen/backbone.layoutmanager/wiki
|
0

well backbone.js is exactly what you want some other popular options include angularjs as well as knockout.js. Each has its place and they all do slightly different things. If you are focusing CRUD type operations AnuglarJS is a very good choice. knockout.js helps make very rich user experiences easily and maintain-ably. Backbone.js is more of a cleaner jQuery in my opinion with some easier to understand syntax.

I would take a look at doing a simple example in each and then pick one from that. the choice is highly dependent on style and personal preference.

2 Comments

does front-end MVC is for those websites where logic are heavily depend on backend frameworks ?
not necessarily you can have the logic anywhere it tends to be a mix of client and server side. Mainly utilizing AJAX to call the server methods.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.