You are Here: Projects » Eyeline Website

Eyeline Website

Eyeline, a manufacturer of precision ophthalmic surgical instruments, requested a website to showcase its product range.

Development Period: January 2009 to February 2009.
Coded With: JavaScript, CSS, HTML, SQL and PHP.
Tools Used: gedit, Firebug, Adobe Photoshop, jQuery, MySQL and CakePHP.
Tagged As: Web, Ongoing and Freelance.

About

With a user-friendly content management system, this website gives the client total control over all content. The products catalogue is totally customisable. Product listings and their associated categories, images, datasheets and descriptions can be added, edited and deleted. Other content, such as that in the About Us and Certificates sections, is also fully customisable.

The site offers visitors a user-friendly, searchable catalogue, with high resolution images, detailed specifications and other product information.

Technical Details

Eyeline.org is coded in PHP on the CakePHP framework. Cake's MVC design principles ensure concise and maintainable code by separating the application's business and presentation logic.

All of the site's editable content is stored in a MySQL database. For the product data, specifically, the project gave a chance to explore one-to-many and many-to-many relationships using Cake's belongsTo, hasMany and hasAndBelongsToMany definitions. For example, a single product entry hasMany images, while each image belongsTo one product entry.

A product can be assigned many descriptive properties (say, "Handle Length"), and these properties can also belong to many products, hence an HABTM relationship.

The application has some custom JavaScript thrown in for a more pleasant user experience, but it all degrades gracefully.

« Projects

Back to top.