Programming flexibility into a Yoga Studio Website
My latest ouvre. Yoga-Sanctuary.com was a website that had been stretched to its limits. It was a classic site, static HTML, frames, and outdated branding. There was third-party integration with MindBody, a business logic software system for scheduling, taking online payments and payroll for yoga studios, salons, gyms, and spas.
My work was to install my ColdFusion CMS so that the studio manager could maintain the site, integrate a live feed from MindBody into the site for a nicer user experience, and to supply mechanisms for adding galleries, taking in and displaying testimonials, teacher bios, display a blog feed on the home page from Blogger, integrate Constant Contact newsletter sign up, and work with the owner and studio manager to design a site that was pleasing, dynamic, and not overly feminine. The result, is a wonderful example of the zen of website development.
Here is the homepage as it was:

Here is the homepage now:

The building and customization of the CMS was a large task in itself, but it built up a codebase that I have been working on for almost 2 years now. This is the best example of what my gCMS can do. I learned several things about how to use CF and MySQL to do all the back-end stuff, and still publish static and dynamic pages on the front-end. I can see that I have to refine things a bit now too, like for example, I need to add a back-end function for publishing or regenerating all the pages in the site with one mouse click.
The juiciest bit of programming was integrating the MindBody feed. That meant exploring the CFHTTP tag and after pulling in the XML feed, a lot of XPath data manipulations so the front-end display was what we wanted, with conditional logic, styling and fail-over code in the event of a communications time out with the third-party server. Take a look. Although it just looks like a simple page, there is a bunch of hard-won knowledge behind it.





