Archive for the ‘Tutorials’ Category

This is a receipe how I save stuff to S3 from my Mac: 1.) Signup with S3: http://aws.amazon.com/s3/ (check pricing!). This will give you access to the AWS Management Console. 2.) Create a Bucket: This can be done via the AWS Management console. If you are not familiar with the concept of ‘buckets’ check-out the [...]

This is just a link to a very good tutorial on how to make your own SVN post-commit hook using a PHP script. It sends the following information via email: Committer name Commit message List of files edited Diff of changes made http://techchorus.net/writing-php-script-send-svn-commit-changeset-email-notification

From an old post: To start out with XML-Schema this might be of interest to you: XSD-Tutorial: http://www.liquid-technologies.com/XsdTutorial_01.aspx Free graphical Tool: http://www.liquid-technologies.com/LiquidXMLStudio.aspx [2009-06-27] Update: A very cool feature is the generation of a Schema, based on example-XML files you give Liquid XML Studio! I discovered this when I built a Schema that would not validate [...]

On the command line if you close a console with a running job, you kill the job. This is different with the tool ‘screen’, where you can attach and detach from a ‘screen’ without terminating it. You can even start a job in a screen on another machine, detatch, travel somewhere else and re-attach to [...]

Since I am doing more and more stuff on the commandline, I noticed that sometimes I just wait for some task to finish to do a next step in a sequence to accomplish a certain goal. What if a running task would take an estimated 3-8 hours and it is Friday afternoon? In this case [...]

In search of an example how to implement a top-level exception handler in PHP I came across this nice site containing lots of well explained tutorials and articles: http://www.phpro.org

As projects get more complex, I came to use Subversion’s externals. This SVN property enables you to use more than one ‘checkout’ inside your architecture. For example if you are using Zend Framework as an external library, why make a ‘hard’ copy of it? It gets out of date very quickly, right? Externals allows you [...]

If profiling of applications is something you already heard of but never played with, here is what I learned from starting to dig into this topic: (1) Install XDebug (if dou do not already have it on your Dev-System). If not, please refert to the XDebug-Docs. The procedure is very well documented there. I used [...]

I am currently writing lots of Selenium tests for a website with lots of form based enquiries. On my way I came accross some questions and obstacles to be overcome. This is a wrap-up of stuff I discovered: Tools you need: Web Developer-Toolbar Add-on for Firefox Selenium IDE Add-on for Firefox Selenium Core Links you [...]

Here is another good page to get started with Solr: http://www.xml.com/lpt/a/1668 http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html PHP for a client: https://issues.apache.org/jira/browse/SOLR-341 [25.04.2008] I found another helpful tutorial: http://www.xml.com/lpt/a/1668

I am currently playing around with Solr. Here is a nice tutorial to get started: http://www.xml.com/pub/a/2006/08/09/solr-indexing-xml-with-lucene-andrest.html A more indepth article from IBM: http://www.ibm.com/developerworks/java/library/j-solr1/ http://www.ibm.com/developerworks/web/library/j-solr2/

Wiki about patterns in PHP: http://www.patternsforphp.com Article about OO and patterns in PHP5: http://www.informit.com/articles/article.aspx?p=381922 The last resource also contains lots of interesting chapters from current web development books of various topics.

I came across some nice little explanations of the following web-topics: Wikis BLOGs Social Bookmarking Social Networking RSS Feeds Google Docs [23.03.2008] New ones added: Twitter Online Photo Sharing PR Web OpenID Wet Paint Wikis Enerjy For Java Development Google’s My Location for Mobile Maps

In search of a simple CAPTCHA solution I came across the following tutorial (German). I modified it slightly and packaged it into a neat little demo including PHP code for the form and the images. It creates CAPTCHA images using GD like this: Download: Simple CAPTCHA demo for PHP Original Tutorial: http://www.stoppt-den-spam.info/webmaster/captcha-tutorial/index.html

One of my customers wanted to have spoken text on his webpage. Having no idea about Flash & Co. I found this neat solution: Use a WordPress-Plugin to do the job. Tutorial: http://www.macloo.com/examples/audio_player/ Download necessary stuff: http://www.1pixelout.net/download/audio-player.zip MP3 for testing: Tusch!

If you ever lose the keys or lock yourself out of your house have a ‘bump key’ ready: Watch: http://www.youtube.com/watch?v=pwTVBWCijEQ You lost your car keys? Have a punched tennis ball ready: Watch: http://www.youtube.com/watch?v=PnvI-3BTRcg Run out of small change? Hack a vending machine: Watch: http://www.youtube.com/watch?v=Rkq_Y0tZD1M Change the password on a Win XP machine: Watch: http://www.youtube.com/watch?v=oC8c7zKLnU4

Here are some nice slides covering the following topics: Writing Maintainable PHP Code – Organizing for Change Exceptional PHP – When Good Code Goes Bad Goto: Jeff Moore’s blog

This is something I came across browsing a mailing list: Goto: http://marc.info/?l=php-general&m=112198633625636 Up to now for me AJAX was a topic which I had on my educational todo-list for ages – of course knowing roughly what it is all about in theory and waiting for the first project to get ‘paid practice’ ;). Rasmus’ simplification [...]

When starting to use XML-related technologies like XSL and XPath, the details and concepts can be intimidating in the first place. One question I had to solve was: How can I create a testing setup on my windows workstation that takes a XML source file and a ‘console’ from which I could execute XPath queries [...]

I have often wondered why it is so difficult for non-developers (management, sales people, customers, inexperienced developers etc.) to understand the mechanics of software development, its life-cycle and the related elements like for example the importance of code-base quality, refactoring, versioning, unit testing, agile development practices, requirements management, project-wide standards, creating a productive, open and [...]