i have been developing web application using jquery on html5. on time, code seems have gotten bit complex (over 1300 lines of code) , on front end. there 2 main parts code:
- reading sensitive data (formatted in json)
- custom algorithms
the code has number of event listeners. have been advised develop server-client architecture. have been researching mean stack , understand basics not sure how migrate code mean stack. have following queries.
- how divide code between angular , node?
- i not wish use mongodb or other nosql read jsons, mean stack allow me that?
- can still continue using jquery node if not wish use angular?
it sounds can accomplish goals using node , integrating packages npm as-needed.
you can re-implement client-side code using angular better organize taking advantage of mv* patterns.
you not required use mongodb node. can use node's file system api read , write json.
if wish keep using jquery on client-side instead of angular, that's no problem either. however, if you're not using mongodb or angular, you're not using mean stack.
Comments
Post a Comment