By Ollie Phillips, February 14, 2013
I wanted a really lightweight MVC PHP Framework that works like my favourite CMS, concrete5. So I built one.
There are many MVC (Model View Controller) based PHP application frameworks out there, you can probably name several popular frameworks right off the top of your head. Some are more capable than others, but what you will notice when you work with one is that it probably works slighty differently than another, both in terms logic and syntax.
If you've settled on one framework or way of doing things it can be really difficult to pick-up a new framework. Very often you can find yourself fightlng the syntax, especially when you're getting on a bit, like me.
Eantics has been developing with and for concrete5 since 2009: it's pretty much all we use now. concrete5 is a content management system(CMS) that I prefer to label a content management 'framework'. It too takes an MVC approach and once you get your head round MVC conceptually, developing for and extending concrete5 is a very satisfying and logical experience.
By Ollie Phillips, November 16, 2012
Sometimes a tweet is not enough and a blog is too much. Here's a collection of my views thoughts and observations which I've been meaning to inflict on the world for some time. From the hip. Written in 20 minutes. Just for you.
By Ollie Phillips, June 2, 2012
As most UK website owners should be aware by now, the controversial "Cookies disclosure" law became enforceable in the UK on the 26th May 2012. The Information Commissioners Office (ICO) granted UK website operators an additional 12 months to get to grips with the legislation, whilst the rest of Europe has "supposedly" been complying since May of 2011.
Sadly, the law didn't go away: many hoped it would. The legislation didn't get watered down either, save for some late guidance from the ICO that furthered the idea of "implied consent", a notion which many have inferred to be a u-turn and justification for doing nothing. Though I'm pretty certain it isn't either of those things, it did however muddy the water significantly, and fairly late in the day.
Not ideal. Not for the businesses who have been working towards compliance for the past 12 months anyway.
So, with the legislation now in force, believe-it-or-not businesses in breach, could, theoretically, be hit with fines of up to £500k! Scary stuff.
But look about the Internet and it's easy to conclude the last 12 months have just been some sort of bad dream. Cookies disclosure is ABSOLUTELY the exception rather than the norm. Attempts at compliance seem to be few-and-far between and the approaches employed vary enormously with some larger Corporates using the implied consent model, which, given it's relatively late introduction/clarification is something of a marvel - or perhaps it's not?
By Ollie Phillips, May 9, 2012
I'm rather keen on Rackspace; a tiny Rackspace Cloud Server hosts this site, and it NEVER skips a beat. I'm also a big fan of their Cloud Files content delivery network (CDN) which is fast and 'for nothing', and I love Concrete5, possibly the best content management system out there.
This post brings it all together, with a simple 'how-to'. In it I'll show you how to build a class (implemented as a Concrete5 model, that, once dropped into your Concrete5 development framework, will allow you to upload to, and delete from, Rackspace Cloudfiles via their API.
Let's crack on.
Unzip those files and add them to your Concrete5 installation's root /libraries folder
Next copy and paste this code into a text-editor and save it as 'cloudModel.php', in your Concrete5 root /models folder.
By Ollie Phillips, April 7, 2012
There's not much love for the new European laws on Cookies disclosure across the pond. Imagine how we feel about it over here in Europe, especially in the UK, where website owners need to be making adequate disclosure on their websites from 26th May 2012; that's next month!
By Admin, February 3, 2012
When extending Concrete5, if you want to extend the 'on_user_add' event called when someone registers on your site, you'll only have access to basic user information, and none of the user attributes which you might be collecting via the registration form.
For example, if you have an attribute "subscribe_to_newsletter" on your form, and your new registrant checks the box to say yes they'd like to get the newsletter, you'd probably want to use the 'on_user_add' event to add that user to a group of "Newsletter Subscribers". Unfortunately you can't.
The issue is that the 'on_user_add' event fires before the UserInfo data has been saved. The data is not there to access via the Concrete5 API.
The good news is, you can work around it.
By Ollie Phillips, February 1, 2012
Concrete5 is a Content Management System, or CMS. Actually that under-sells it considerably; Concrete5 is more an Application Development Framework, akin to CodeIgniter or CakePHP.
Like those frameworks, Concrete5 employs object oriented PHP and the Model-View-Controller (MVC) design pattern throughout it's core (a design pattern is simply an approach to organising code), and if you extend Concrete5 you'll find yourself using MVC principles.
MVC as a pattern, is one of the more popular in use today since it provides for logical organisation and easy reuse of code.
Lets look at each component of MVC in turn.
By Admin, January 25, 2012
The work rate of the guys at Concrete5 is fairly incredible. Concrete5 v5.5 is now effectively 'out of beta' for real (version 5.5.0 was never touted as a stable release), with version 5.5.1 now offered as the latest stable release via all download mechanisms including web host script installers.
We've updated a couple of Concrete5 websites to version 5.5.1 today and it was effortless! The list of bugs fixed from 5.5.0 is epic, and having used it for a while today, the whole thing feels much more together. Well done chaps.
By Ollie Phillips, January 10, 2012
In just over five months the Information Commissioner's Office (ICO) will stop the clock. UK businesses will have had 12 months to implement the European Commission's revised E-Privacy legislation which came into force for the rest of Europe on 25 May 2011.
It seems strange, but as far as I can see, this still isn't on many business radars, or if it is, it's being ignored.
By Ollie Phillips, December 29, 2011
When you're considering the specification of your new website you should make sure that a good Content Management System (CMS) is at, or very near to, the top of your list of requirements.
Nowadays, Eantics only design websites and build web applications around professional CMS systems whether that be Wordpress, Concrete5 or Nuggetz our own lightweight CMS, a commercial decision we made over 12 months ago. Here's why we made that decision, and why you should consider a CMS right from the start.