There is a golden rule: “never change a running system”. Unfortunately, I ignored this rule a few months ago and updated this blog to the most recent version of WordPress. Stupid as I am, I didn’t check the system requirements before upgrading which clearly states that WordPress now requires MySQL 5. To cut a long story short: web-punk.com is finally back. I’ll try to post some short articles on Zend Framework and probably also on Objective-C within the next weeks.
Yet another post that isn’t really about Zend Framework or PHP. Nevertheless, this video posted on Code’n'Web is worth seeing (and it’s a must see, if you are into game development ;-)).
And Now for Something Completely Different: I’ve just started with iOS Game Development. Just for fun. The main reason for that was that I finally switched from Windows to my brand new MacBook Pro and wanted to learn Objective C. And what is the best way to get used to a new programming language? It’s coding games, of course!
Sometimes you’ll need to clean up the memory used by PHP. Especially if you have long running CLI scripts this will make sure to avoid the “PHP Fatal error: Allowed memory size of N bytes exhausted”. The basic idea is to remove unused variables from memory by using PHP’s unset() command.
In it’s simpliest form, unset() will look like this:
<?php php $i = "is now set"; echo $i; unset($i); // remove $i from memory, i.e. tell the garbage collector that it may unallocate $i ?>
Internally, PHP works more or less like Java when it comes to unsetting variables. Thus, unset() will not immediately unset the corresponding variable. Instead, it simply tells it’s garbage collector that the variable is no longer needed and may now be removed from memory. Good news are that the garbage collector now works quite smart and usually you don’t have to take care of how it works. Bad news are, that there are still some cases when the garbage collector fails. Continue Reading…
I’ve been working with Zend Studio for quite a while now. And actually, I was pretty happy with Zend Studio aka Eclipse. If you install Zend Studio you’ll get a very nice integrated development environment with everything a programmer needs: a text editor (well, that’s no surprise), a built in debugger, a ready to use profiler, SVN client, and so on.
However, I really hate Zend Studio when in comes to performance. It takes ages to start up (and believe me, I have a pretty fast machine here) and if Eclipse is updating its whatsoever-files you can start your coffee break because the text editor gets freakingly slow. Continue Reading…
A few months ago, I wrote an article about how to implement an “under maintenance” plugin using Zend Framework plugins. This plugin allows you to easily redirect users of your website to an “under maintenance” in case of a planned downtime. Simply set a flag in your application.ini and that’s it. In this post we will extend this plugin.
Add a comment - 1 pingback / trackback
It’s finally done. The project that I’ve been working on during the last couple of months is online. Basically, Scoops is a Semantic Web application that enables you to… well, maybe it’s easier if you simply have a look at it ;-).
Some technical notes: the project has been implemented using Zend Framework on the server-side and jQuery on the client-side. The backend (the process that crawls the web, analyzes & organizes text, and calculates a relevance for each user) uses dozens of free or commercial web services.
This site offers a range of information about how customise a website using various examples of coding, and other web development techniques. However, there are still a good number of people who rely on templates and pre-set themes when putting together a website. Often this can offer a quite a easy option when it comes to web design – but it is worth putting in the time and effort to create something more original?
In fact, there can often be a number of advantages to creating an original website design. Often, it can be particularly beneficial to those who are looking to develop their own brand or image. Whether you’re creating a games sites, like party poker, or developing a new email client, similar to hotmail, developing a recognisable brand image can prove crucial By designing your own sites, complete with unique features, you can help to ensure that the products or facilities which you are offering have their own unique image. If you are hoping to match up to your biggest competitors, then this is something which can be of a huge advantage.
As well as helping to make sure your site stands out from the crowd, customisation options can also help to make sure your web pages are as user-friendly as possible. Whilst pre-set layouts and designs may look impressive, they rarely cater for a site perfectly. Added features – such as an image gallery, for example – can be the perfect way display a product or theme, and can make all the difference to your site as a whole. With step-by-step web development guides available online, there are certainly a number of benefits to be had from including relevant examples of web coding within your overall site design.
The last months were frantically bussy. I’ve been working on a Web 3.0 (yes, I really mean Web 3.0 and not Web 2.0) project and finishing and debugging this web portal took more time than expected. This project is currently in closed beta. I’ll let you know as soon as we are online.
Anyway, I’ve just wanted to let you know that web punk is not dead. I’ll publish some (hopefully) interesting posts within the next days.
PS: I’m still looking for co-authors. If you are interested, please contact me…
Version 1.0.1 of ZIDS (Zend Framework Intruder Detection System) has been released. You may download the source code here (Google Code).
If you don’t know yet what ZIDS is, or want to know how it works, please have a look at the manual