|
Feb
05
2011
|
Once again I've come to a point where I want to my CMS and accompanying framework. Sigh. Actually I have good reasons for doing it. First up is that recently I've added quite a bit to the CMS and have realised it quite a hassle to add something new. The ability to extend the CMS is there but it's a pain. I want to rework this to be more manageable. Secondly, after having tried to rework a lot of the CMS's inner workings without a rewrite it's become very messy and inconsistent.
Rewriting the CMS has also prompted my to rewrite my framework. The framework I created to run my CMS on is pretty cool but could do with a tidy up too. With framework being rewritten I've decided to use version control (SVN) and to make it open-source. Not sure why I decided to open-source it but a friend at work is always asking why I didn't open-source things so I have this time.
Making the framework open-source gave my the problem of not having a name. I couldn't just open-source it without a proper name. I thought of loads of names... DNS Framework (Dot Net Sucks), POO Framework (PHP Object-Oriented) and many other silly names. Then I remembered a domain I had registered a few years ago for a site I never got round to making. My framework will be called Twuddle Framework and subsequently the CMS will be called Twuddle CMS.
I've made start on Twuddle Framework. The source can be found on Google Project Hosting. Open-source CMS? I haven't decided if I will open up the CMS code yet.
The current version of the CMS isn't dead yet. There's a while before Twuddle Framework and Twuddle CMS are ready to be used so I'll continuing to use the current CMS on this site and James David Jackson. Hopefully I'll be blogging my progress on a semi-regular basic too.
|
Mar
16
2010
|
Post by James Jackson on Tuesday,
16th
March
2010
at 9:55 pm
Tagged: caching, cms, content management system, performance |
Over the weekend I ran a script to test the time it takes my server to process the home page of nojacko.com. I wasn't testing the time the page took to load but the time the server took to process it. I created a script that ran every 20 minutes, loaded the homepage's html, and grabbed he benchmarking information from the footer (which looks like "Page built in X.XXXX with Y queries & Z caches"). The script would first delete the site's cache and then load the site 10 times. This got the benchmark data for the site with caching as after the first load the site would have been cached. After this the script would again load the site another 10 times but before each load the cache would be deleted, getting the data for the site without cached data. I let this run for most of the weekend and here's my findings.
Something I have to point out is this site is hosted on a shared server (by HostGator who I highly recommend), so server side optimising is left to HostGator. Also other sites share the server so load that they create could have affected the results.
The first finding is easy to see. The site without caching takes 49% longer time to load on average. This is something I guessed would happen because with caching the site doesn't have to connect to the database and query it. The minimum and maximum loading times also show this. The maximum and minimum loading time for caching off was 41% and 75% longer, respectively, then when caching was on. 41-75% is a very noticeable difference. To put it into context if the site was maxing out 3 servers without caching turning caching on would in theory allow the site to run on only 2 servers.

The next thing I noticed was that when the database was being queried the difference between the average and maximum loading times was much higher than when cached. It seems that using a database the loading time is more variable. You can see from the scatter graph below that the cached times are more closely grouped between 0.01 and 0.1 seconds, whereas the non-cached times are more spread out between 0.02 and 0.5 seconds. Also, there were 11 instances of the non-cached site taking more than half a second and only 3 when the site is cached.

So the testing shows caching is worth while. In some cases your might not be able to cache or you might have a fast enough database server that the difference isn't noticeable but there is a good case for it. Increasing speed with caching can also save money and energy consumption as less servers are needed which cost both money and electricity.
I intend to do some more testing in the future. The next set of tests I do will probably be with part or full page caching, where I'll cache html outputs and not just the results of database queries.
|
Mar
11
2010
|
Post by James Jackson on Thursday,
11th
March
2010
at 11:25 pm
Tagged: cms, content management system |
It's been a long time coming but I've finally uploaded the work I've been doing with my CMS. I've added a few new features but the main thing is the rewrite. Here's a run down of what's new, some noticeable and some not.
New Features
I'm going the be working on more thing in CMS 0.5rc so that I can remove the release candidate status.
Upcoming features
Having this version live is very nice as it's taken me a long time. I've got a lot of momentum right now to keep developing the CMS and also the content on this site. So much so I'll leave all that for another post.
|
May
31
2009
|
Over the last week or so I've been working some more on the CMS. The main factor contributing to this is that I'd told a friend (Matt) he could use it on his site. Last week he bought his domain name and wanted to get started. The main features that I've added are:
You can see the cms running here on www.nojacko.com and also on Matt's site www.mattcrane.co.uk. I've let him have full access to the skin, views and css so he has full controll of the site's look.
As for the next set of changes... top of the to-do list is mainly behind the scenes improvements. They shouldn't really take too long (fingers crossed). Afterwards it's going to be galleries or blogs and then some widgets for both of them.
|
May
05
2009
|
Post by James Jackson on Tuesday,
5th
May
2009
at 9:00 pm
Tagged: cms, content management system, james jackson |
Hello World. This is my first post for the new nojacko.com. I'm going to touch on a few of things: Who I Am, This Website, It's Reason for Being & The Blog.
Who I Am
I am James Jackson and this is my personal website. That's all I shall say in this post about myself. If you want to know more check out the about page.
This Website
This site will be a place for me to blog, show off my work, collect useful links, test new stuff I'm working on and other things I've not thought off yet. This site has actually been around a few years now. It's not been kept up to date. The main reason being is it was all static html and a bit of a pain to update. So about 8 months ago (August/September 2008) I started working on creating a CMS. I've been working on it on and off since and in that time so much has changed and at one point I even rewrote the lot. All the time has actually worked out really well! Because I've been taking my time I've been able to think through everything before starting to implement it. The CMS so much better for this, as any project should be if you plan it well. At the moment the CMS is not for sale, but after it's been proven to work and new features are added it might be avalible to buy...
..back to the point. The site is now running on the above mentioned CMS meaning it's really easy for me to edit and update. So with the new easy of updating and a promise to myself to keep the site update it's looking good.
Reason
The original reason for this site was to have my own personal site. Before, I had only had websites trying to make a little money of the interweb. This site was to really to be about me, bring together all my sites and also be a site that wouldn't disappear off the face of the Earth like some of my other sites have. The name? nojacko was a name I thought of for playing games online. Jacko is a way to common nickname, so I came up with something more unique. I think it came from a friend of mine who would say "Nooooo Jacko" if I did something stupid at school. I was a bit silly at school so it was said a lot
and the way he said it was always the same. So when I decided to think of a unique name it must have popped into my head. It wasn't being used by others and seemed alright to me... so I used it.
Blog
A quick note about this blog. The blog will be about anything and everything. Whatever I feel like really. Each post will be tagged and categorized, but until there are most posts I won't be listing the categories or tags. It'll look a bit plain with only 1 or 2 posts in each category/tag, and I haven't really finished the blogging system. You won't be able to comment on posts. I don't really think this is necessary for my site but if you do want to comment feel free to contact me.
Well that's it for my first post. Quite a bit longer than I originally thought it would be.