I’ve spent the last few weeks working on a new release of Pyplate. I’ve updated Pyplate to include HTML5 sections for mobile and tablet friendly web sites. I’ve also developed a new responsive theme for pyplate.com.
Older themes from previous version of Pyplate aren’t compatible with the latest version, so I’ve been updating them. I’m also going to develop some new themes based on the theme that I’m using on pyplate.com. Some of the older themes don’t look that great, so I won’t I’ll probably just delete them.
The next version of Pyplate will use MySQL. I’m already using Pyplate with MySQL on several sites, and it opens up a lot of different possibilities such as using separate servers for databases and web servers. I’m dropping support for SQLite because it will be too much work to support two different databases.
There is going to be a new theme for the admin area. Previous versions of Pyplate used the same theme for the front end of a web site and the back end, which meant that developing new themes was time consuming. Each theme had to work for the admin area as well as the rest of the site. Having a standard admin theme means that new themes only need to work for the front end, and don’t need to be tested with the admin area.
There’s more info on Pyplate development at blog.pyplate.com.
My site about Linux Web Servers is doing well. The articles about apache reverse proxy are getting the most visits. The article about setting up wordpress on apache are still rising through the search rankings, so it should start getting a decent amount of traffic soon. The latest article that I published there was about setting up a LEMP stack with Linux, Nginx, MySQL and PHP.
A Raspberry Pi 2 was released today! It has a quad core chip running at 900MHz, and it has 1GB of RAM.
The new Pi’s SoC is the BCM 2836, which uses a quad core ARM Cortex-A7. It will now be able to run Ubuntu. Windows 10 will also be available for it in some form.
Read more on the Raspberry Pi site: http://www.raspberrypi.org/raspberry-pi-2-on-sale/
I’m interested in developing responsive themes. The themes on my current sites are somewhat responsive, but they aren’t built on a responsive CSS framework. I’ve been looking at the following CSS tools to generate responsive themes:
I want to be able to build HTML5 sites like these, where pages are divided into sections. This seems to be the direction that front end design in going in – the sites I listed look modern, and they all look great on a range of devices.
Making themes adapt to different sized screens can be done with CSS media queries. The use of rows and columns is an important factor in CSS frameworks. It’s important that each row is divided into columns in such a way that each row is the same width.
Each section needs to be contained in a different div with its own CSS styling. In every CSS theme, there need to be a number of sub-themes for different sections. Writing CSS code for themes could get very complicated, so it might be worth using a CSS preprocessing tool like SASS.
I also need to give consideration to page navigation. It’s common to use a page menu at the top of pages containing links to HTML anchors so that users don’t have to scroll down long pages.
I’m working on implementing these changes in Pyplate. This is mostly a matter of redesigning themes. I am making some changes to the Python code of my CMS in order to handle page navigation widgets, and to divide pages into sections.
As soon as I get time, I need to spend some time reading this: http://learn.shayhowe.com/advanced-html-css/performance-organization/
I’ve been keeping an eye on the search engine rankings for my latest site, Linux Web Servers. The site has only been up for a month, but it’s quite low in the search rankings at the moment. Other sites started off higher up the search rankings.
The subject matter of this site is much broader than previous sites. My Raspberry Pi site and Banana Pi sites cover quite narrow niches compared to Linux Web Servers.
There are many professional web sites covering web servers on Linux, and a lot of people have hobby sites about this topic. To compound the problem, I’ve started off by writing about setting up a LAMP server and installing WordPress on Apache. There are many, many tutorials covering these things on other web sites.
Once I start writing about slightly more obscure things, I should start to do better in rankings. The articles about Apache’s mod_proxy are already doing better in the rankings than the articles about WordPress.
The good news is that I should get a lot of traffic once this site starts to take off. If I can work my way up the search rankings, Linux Web Servers should appeal to a huge audience.
I posted a link to my Banana Pi cluster on Reddit see how the server would cope with the traffic. It wasn’t a huge amount of traffic – about 4000 page views over two days. At its busiest, the cluster handled about 480 hits an hour.
Ganglia showed that none of the CPUs in the cluster were busy. This is pretty much what I expected would happen, and I now feel confident that the cluster can easily handle much larger amounts of traffic. It was also good to see that the data from Ganglia showed useful information that reflected what was happening to each server.
Ganglia 24 hour view of web server and database server clusters
I’ve also been working the newest site on the Banana Pi cluster, Linux Web Servers. I’ve written some articles about installing WordPress on Apache. It’s been a while since I worked with WordPress, and it was nice to get back to it.
I’ve started writing some posts about Nginx, which I hope to publish soon.
The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.
Here's an excerpt:
A New York City subway train holds 1,200 people. This blog was viewed about 5,400 times in 2014. If it were a NYC subway train, it would take about 5 trips to carry that many people.
Click here to see the complete report.
I’ve published a new site on my Banana Pi cluster. It’s called Linuxwebservers.net. I’ve started by writing some posts about Apache and its configuration files. I’ll write some basic articles about Nginx next, and then I’ll write some articles about setting up different web development programming languages.
I’m still thinking about using Gluster in the Banana Pi cluster. I’ve read that offloading file access to network storage can improve the performance of web server nodes, especially when the storage nodes have fast storage like SATA 3 hard disks, and the server nodes have slower storage in the form of class 10 SD cards. I have a feeling that performance won’t be as good as it is with content stored locally on each server, but there’s only one way to find out for sure – I need to set it up and try it.
There is a new blog on pyplate.com at blog.pyplate.com. It’s a journal of Pyplate related work that I’ve been doing recently, and it is also hosted on the Banana Pi cluster. I still need to do some work on the blog. The publishing date needs to be displayed underneath the title of each post. I also need to reverse the order that posts are displayed in, so that newer posts will be at the top of the page.