How to explain to my manager the importance of separation of concerns?
I’m an extremely novice web programmer working at a 2 person shop building websites, and we’re in the process of writing a simple website template system in PHP from scratch. My manager is entirely self taught. He has been insisting that we put our HTML directly quoted in variables, mixing our back end code with the front end stuff.
Backbone.js app pulling large data sets with fetch()
I’m currently making some improvements for a client on a backbone.js app. The app is a web store and inventory management system. One thing that bothers me about this app (and other backbone.js apps I’ve encountered) is that it loads the entire collection of inventory items into memory from the server on every initial page load. After about a year and a half in production, this data set (not including image assets) is around 2.7 MB. So for every visitor to the web site, the javascript front-end pulls 2.7 MB data over the wire on initial page load. Of course this results in serious lag (around 8-12 seconds to load over most consumer-class broadband connections in my area). To me this load time is unacceptable. Of course once the data is loaded, the rest of the website is super snappy and responsive.
Backbone.js app pulling large data sets with fetch()
I’m currently making some improvements for a client on a backbone.js app. The app is a web store and inventory management system. One thing that bothers me about this app (and other backbone.js apps I’ve encountered) is that it loads the entire collection of inventory items into memory from the server on every initial page load. After about a year and a half in production, this data set (not including image assets) is around 2.7 MB. So for every visitor to the web site, the javascript front-end pulls 2.7 MB data over the wire on initial page load. Of course this results in serious lag (around 8-12 seconds to load over most consumer-class broadband connections in my area). To me this load time is unacceptable. Of course once the data is loaded, the rest of the website is super snappy and responsive.
Backbone.js app pulling large data sets with fetch()
I’m currently making some improvements for a client on a backbone.js app. The app is a web store and inventory management system. One thing that bothers me about this app (and other backbone.js apps I’ve encountered) is that it loads the entire collection of inventory items into memory from the server on every initial page load. After about a year and a half in production, this data set (not including image assets) is around 2.7 MB. So for every visitor to the web site, the javascript front-end pulls 2.7 MB data over the wire on initial page load. Of course this results in serious lag (around 8-12 seconds to load over most consumer-class broadband connections in my area). To me this load time is unacceptable. Of course once the data is loaded, the rest of the website is super snappy and responsive.
Backbone.js app pulling large data sets with fetch()
I’m currently making some improvements for a client on a backbone.js app. The app is a web store and inventory management system. One thing that bothers me about this app (and other backbone.js apps I’ve encountered) is that it loads the entire collection of inventory items into memory from the server on every initial page load. After about a year and a half in production, this data set (not including image assets) is around 2.7 MB. So for every visitor to the web site, the javascript front-end pulls 2.7 MB data over the wire on initial page load. Of course this results in serious lag (around 8-12 seconds to load over most consumer-class broadband connections in my area). To me this load time is unacceptable. Of course once the data is loaded, the rest of the website is super snappy and responsive.
OOCSS / BEM / SMACSS architecture
I’ve been working through this article to organize my front-end code. It references articles on BEM / SMACSS, which in turn reference other articles.
OOCSS / BEM / SMACSS architecture
I’ve been working through this article to organize my front-end code. It references articles on BEM / SMACSS, which in turn reference other articles.
OOCSS / BEM / SMACSS architecture
I’ve been working through this article to organize my front-end code. It references articles on BEM / SMACSS, which in turn reference other articles.
OOCSS / BEM / SMACSS architecture
I’ve been working through this article to organize my front-end code. It references articles on BEM / SMACSS, which in turn reference other articles.
OOCSS / BEM / SMACSS architecture
I’ve been working through this article to organize my front-end code. It references articles on BEM / SMACSS, which in turn reference other articles.