web development round up 04

Multiple sites, vouchers & automated backups

Custom scripts to filter multiple holiday choices

Travel / Leisure

We all like choice especially when we need to drill down to get the exact product that matches our needs. We were tasked to create a custom filters feature that drew upon the state and choices of other filters within the wrapper. This would empower the user to be able to dynamically see the effect of their selections in real time before deciding to make a purchase.

For the front end handling of passing and retrieving the choices and the data we created a custom script that would maintain the selections and call a back end API on the change of any of the selections. The custom API we delivered would then sort the choices and make a call to an industry API with the sorted choices and wait for a response. The returned data was then sorted and formatted before being returned to the front end to be displayed using animation techniques.

New dynamic section for website

Solicitors / Law

As we know lots of online businesses have suffered negative responses to the way they portray and deliver complex terms and privacy requests, things have to get better. Navigating complex and often long documents can be challenging and its key to ensure the document is segmented visually to ensure a level of understanding is delivered.

Using a combination of colour, typography and html elements controlled through JavaScript we created a section that was visually pleasing and displayed information in manageable chunks that were easy to digest and followed an indexed system.

Automated backup

Automotive

Backups are boring its just something that's done and we don’t need to think about unless something goes wrong. In a controlled and managed backup strategy regular restores take place to ensure in simple terms it works. Choosing what to backup and when is crucial to ensure you have the right assets should the time come that you need them.

With a scattered array of assets in the form of Database, code and images a secure and reliable approach was needed to maintain a rolling backup that was both optimised and reliable. We create a stand alone PHP class that was self contained and could be run directly through a server CRON job giving flexibility in deployment. We custom created functions to collect and test the Database data we needed for the backup, outputting files that could be easily tested in a restore test environment. In considering the best approach to backup masses of images we chose to spawn the request to existing programs available on the server, this through our testing was the fastest approach. The images were saved in a compressed file which again presented a simple and easy way to test restore or even roll back.

User interface voucher handling

Travel / Leisure

Tasked with delivering the ability to allow site visitors to select a voucher code from a selection and to apply that voucher at another stage of the process. We created a custom script that would copy the voucher code to the users clipboard on request using a process with a fallback function should the users device not support modern methods. The custom feature was tested on multiple browsers and devices to ensure compatibility.

New stock system addition to deliver to multiple sites

E-commerce

The brief was to allow easy control of the stock that should go to more than one site and give the ability to edit and update that stock regardless of the stocks deployed destinations. The framework we built used PHP for the API and Angular for the front end. We designed simple tick boxes across the existing stock system to control the destinations of stock items.

We coded Angular to take care of the real time updates in changes to the status of products by pushing commands to the API using observables. At each destination site we deployed a secure fast response simple API that took care of incoming requests for new and edited stock items and the management of associated image assets.

Related Links

Have a project in mind?

get in touch