Using Angular 2 for smaller projects always seemed like overkill. The setup was time consuming and the size of the files was outrageous. Now, there is a new tool that a life saver for all businesses using Angular 2. This new program will create the basic templates for all your angular 2 objects, set them up with webpack, and automatically implement uglyfying and tree-shaking. Not only is it a huge time-saver, but if you are working in groups, the default file structure and naming conventions are great. Now that Angular2 is officially “out”, it is ready for production sites. Now that there is an efficient way to produce them, we will start using it.
Using LocalStorage & SessionStorage to speed things along
Populating form data by using AJAX data sources are an excellent way to speed up your website. However, if you are populating multiple data sets each time you open a form, then the application can become so chatty that it actually becomes slower than pre-processing the entire thing! With HTML5 local storage options, you can seriously speed up your website. With an SPA, we often run into the “back” button resulting in us having to run a search again so the user sees the same search results they had before. Now, we can jam those search results in a local cache and bring them back up without calling the server again.
Calculating Rental Availability
Inventory quantities are a lot like basic FIFO accounting. However, when you step into rentals, you’ve got another thing coming. The rental business depends upon accurate availability calculations. Unlike basic stock, where you can keep a tally of what’s in stock, you have to be able to predict the what’s going to be available, for a set amount of time, between two points of time in the future. Worse yet, rental companies tend to be very dependant on custom business processes, so you can’t just keep a simple shipment registry. So, how do you calculate these numbers on the fly? Well, here’s how we do it.
- « Previous Page
- 1
- …
- 9
- 10
- 11
- 12
- 13
- …
- 24
- Next Page »