Posts Tagged ‘wordpress’
Integrate WordPress into your ColdFusion app
Thursday, January 13th, 2011
Lately I’ve been working on a few ColdFusion apps that require a comprehensive blog system. While I could easily install Mango Blog or Blog CFC, nothing really rivals the functionality of WordPress when it comes to blog apps – but of course, WordPress is a PHP based system.
Installing WordPress alongside a ColdFusion app isn’t too difficult, but I need to customise the blog so that it looks identical to the rest of the site, and allow the user to switch seamlessly between the two.
This level of integration requires two main bits of functionality. Firstly I need to use ColdFusion to connect to the WordPress database and pull out articles and comments for use in summary blocks around the rest of the site, and secondly I need to be able to embed CFML templates directly into the WordPress blog to generate headers and footers whilst keeping any session based information such as login status, cart contents etc. – Essentially I need a CFINCLUDE equivalent for PHP.
Tags: ColdFusion, php, wordpress
Posted in ColdFusion, Railo, Website Development | 19 Comments »
New site live… Vertical rhythm FTW!
Friday, March 13th, 2009
After many sleepless nights, the new Simian Enterprises site is now live – complete with a lovely new back-end system as well as a *gasp* WordPress blog!
I know as a ColdFusion developer, I should probably be using Mango Blog or BlogCFC – Both of which are pretty awesome in their own right – but at the end of the day WordPress is simply a better tool for the job.
I’ve heard it said before, but I’ll chuck my opinion out there too: The new WordPress UI is absolutely fantastic, and I have to say it’s that more than anything else that made me choose it over the other two.
Of course, integrating WordPress with the rest of my ColdFusion site proved interesting. Several things in the site template are achieved through ColdFusion and had to be replicated in PHP. I ended up writing a CFC to pull data from a WordPress blog, which has proved enormously helpful. If I get the chance, I’ll clean that up a bit and put it up as a download – I can’t be the only one wanting to use WordPress on a ColdFusion powered site.
Props go to Anthony at Afovea.com for the lovely new design.
Also, due largely to two fantastic talks by Jon Tan and Richard Rutter at Skillswap Brighton, I have lovingly embraced typography and this site adheres strictly to a vertical rhythm. The math excites me. Really. It’s actually quite worrying.
That’s all for now. I’ve a few articles in the pipeline that I’ll be posting up here fairly soon. Until then, I’d love to hear any feedback on the new site.
Use the lovely comments box below.
Awesomage.
Tags: ColdFusion, website, wordpress
Posted in General | 3 Comments »