Hello all, I have a potential project that I believe could benefit from Angular, and I am just getting started with it so I need some help. The end product is to be a SPA, and will have essentially 2 developers on board: 1 developer is creating the websocket.js and a callback.js file, and the other will create the browser interface, responding to the data received from the webocket and updating the DOM accordingly.
The way that the IOC set of examples works is that 1 JavaScript file is the websocket file that will send and retrieve data based upon user actions, and the other file contains a limited set of callback functions that are to update the DOM based upon the information received from the websocket. The front end developer is responsible for the Javascript in the Callback file and cannot change the function names that reside in the callback file, but can write the code inside of the functions themselves. So, for example, if the websocket sends data back for a profile, it may need to be formatted differently depending on what type of profile is requested by the user - this is where the developer would conditionally update the DOM in the Callback file's function. I would consider myself an intermediate jQuery and JavaScript developer; and, I understand that Angular is not an apples to apples comparison with jQuery - it is a framework. I have a lot of experience as a Server Side developer and am very familiar with MVC frameworks, and am really strong with HTML and CSS. I have seen the benefit in my work utilizing MVC frameworks, and so logically I am attracted to trying Angular on this project. Could be a pretty big learning curve for someone that isn't that strong with JavaScript though! I think that the project could benefit from Angular routes and partials, as it seems that the code will get to be hard to maintain at some point, and would benefit from some of the functionality baked into Angular. Since the project has been started and planned with the 2 files this way from the main websocket developer, can I, as the main front end webdeveloper use Angular to work with the main websocket and callback.js file to update the views? Are there additional dependencies need to work with a websocket? Any advice will be greatly appreciated! Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
