Meta-data solution For Wright Flow Technologies
Wright Flow Technologies of Eastbourne have asked us to develop a testing application so that the engineers that manufacture pumps can record test results using computers on the shop floor. The requirement is that each datum of each test sheet has the engineer name and test date recorded against it. This was clearly not suited to the usual relational database model of many fields on each table row. We have solved the problem by recording metadata describing each “field” on a test_item_type table. This meta-data drives the capture and validation of field values which are stored on a related test_item table that stores the value, engineer name and test date/time on each row.
This approach allows us to extend the number of tests without changing any code and, ultimately, provide Wright Flow with an administration tool to maintain their own tests.
2012 is Sweet Code’s Tenth Anniversary
This is our tenth year and we would therefore like to thank our customers, past and present for their business and support.
Good results storing time-series data in MongoDB from PHP
We recently started to use MongoDB to store large volumes of complex timeseries data and are very impressed with its simplicity of use. No schema or tables to set up in advance; just start creating collections (tables) of documents (tables) in your application. We are using the Mongo PHP extension that automagically creates documents from nested PHP arrays; very simple way to store large volumes of complex data.
Sweet Code now using GitHub to improve client service
We have improved the quality of our service by managing client software development and issues using the GitHub service.
GitHub is used as a storage repository for our client software. It allows us to manage issues milestones such as delivery dates and publish them to our clients.
The repositories provide software change control features by recording what was done, by whom and when so that bugs can rapidly be traced and resolved or changes even completely reversed out.
Separate development branches can also be supported and then easily merged as required. E.g. bug fixes in the main branch can be merged into a development branch automatically.
Wright Flow Technologies – phase 2 development started
This phase will extend the system to the workshop where pumps are assembled and tested. The system will use incoming sales order data to determine which tests are to be performed. Data entered by the engineers will be validated then fed to the back-office to produce PDF conformity certificates for each pump.
Improved marketing for Tool-NET using Google Analytics
Tool-NET.co.uk can now improve their marketing campaigns by analysing website activity including “Add to Basket”, “Buy Now”, “Go To Checkout”, “Place Order” and “Continue Shopping”.
We achieved this by integrating the Google Analytics service using PHP and JavaScript.
Address finder for tool-NET
We have enhanced tool-NET.co.uk by adding an address finder. This helps customers when entering delivery and invoice address. We integrate with the PostcodeAnywhere web service.

MongoDB schemaless database
MongoDB is a schema-free database that bridges the gap between function-rich RDBMS and fast, scalable, flexible key-pair databases. We are looking into its use for our projects.
IDEX considering roll out of new Wright Flow system to international offices
IDEX Corp, owner of Wright Flow Technologies are considering rolling-out the new bespoke system developed by Sweet Code to offices in China and the USA. It was recently demonstrated to them and the response was positive. The first phase of the system is currently in live trials before we specify phase two at the start of November. Our agile development methodology encourages early feedback.
Reduced the risk of releasing new changes for Tool-NET
We use our experience to make positive changes to client’s businesses.
When we took over support for Tool-NET we created test versions of the web site and back-office so Tool-NET can test new features before they are committed to the live website. We differentiate the test site from the live site by use of a red page heading .
Tool-NET are delighted with the results; Sweet Code provides a professional service that goes beyond client expectations.


