PHP - MYSQL - LAMP stuff

Install Linux with Knoppix

Dev Shed Articles - Thu, 2010-05-13 13:00
If you're interested in installing the Debian GNU/Linux distribution, you'll want to know that the Knoppix installer can save you a lot of trouble. This article walks you through the process. It is excerpted from the book Knoppix Hacks, Second Edition: Tips and Tools for Hacking, Repairing, and Enjoying Your PC, written by Kyle Rankin (O'Reilly, 2009; ASIN: B002QX441K). Copyright © 2009 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media
- Once you are comfortable using Knoppix for your desktop, you might find yourself booting onto the CD more often. While you can create persistent settings and a portable home directory to mount, at some point you might decide you would like to use Knoppix full-time by installing it to your hard drive...

nWire for PHP 1.3 Released: Accelerated PHP Code Exploration

Zend feed for PHP news & articles - Wed, 2010-05-12 15:42
nWire for PHP was released about 6 months ago and it is already an indispensable tool for many professional PHP developers. nWire adds PHP code analysis and exploration capabilities to Eclipse PDT and Zend Studio. The new release improves one major area: performance. The results are radical.

Zend Framework Routing with XML

Zend feed for PHP news & articles - Wed, 2010-05-12 15:41
If you use Zend Framework you probably used the initRoutes() function in your Initializer.php to create nice URI's and creating some different routing in your application. To create a customized route for your application you can use the Zend_Controller_Router_Route class from the Zend Framework. If you use the common syntax you have to repeatedly build routes in code for all routes in your application. This makes it not maintainable for programmers. To fix this problem we are going to use a XML file with all routing information.

Magento-Based Asynchronous Execution

Zend feed for PHP news & articles - Wed, 2010-05-12 15:27
Working with an off-the-shelf shopping cart usually requires a little bit of patience. Scaling an e-commerce site does have its share of problems. There is a LOT of interactivity that needs to be implemented. This can be things along the lines of generating targeted ads, sending email or charging a credit card. To charge a credit card, the ecommerce software will usually take the credit card information from the end user, put it into some form of web service request and the request is submitted to a remote system. While that web service request is taking place the process handling PHP is unable to take additional require requests to serve regular pages.

Python 3.1: String Formatting

Dev Shed Articles - Wed, 2010-05-12 13:00
In this conclusion to a three-part series on Python 3.1, you'll learn how to format strings and put them together in different ways. We'll also review what we covered in the series as a whole, which includes your first Python program. This article is excerpted from the book Beginning Python: Using Python 2.6 and Python 3.1,, written by James Payne, Developer Shed Editor-in-Chief (Wrox, 2010; ISBN: 0470414634).
- If you like what you're reading here, you can find it at Wrox or purchase the entire book at Amazon. Putting Strings Together in Different Ways Another way to specify strings is to use a format specifier. It works by putting in a special sequence of characters that Python will interpret as a ...

Technology Preview of the SimpleCloud API

Zend feed for PHP news & articles - Tue, 2010-05-11 16:49
It's been over six months since the initial code release of the SimpleCloud API, and the code has come a long way since then: thanks to the efforts of Stas, Wil, and our partners, we now have a solid, well-tested, documented code base that shows off integration with Amazon, Windows Azure, and Nirvanix.

Python 3.1: Strings and Quotes

Dev Shed Articles - Tue, 2010-05-11 13:00
In this second part of a three-part series that introduces you to Python, you'll learn about the importance of strings, how they work, and why Python uses three different kinds of quote marks. It is excerpted from the book Beginning Python: Using Python 2.6 and Python 3.1,, written by James Payne, Developer Shed Editor-in-Chief (Wrox, 2010; ISBN: 0470414634).
- If you like what you're reading here, you can find it at Wrox or purchase the entire book at Amazon. What is a String? A string is one of several data types that exist within the Python language. A data type, as the name implies, is a category that a particular type of data fits into. Every type o...

PyMOTW: Parsing XML Documents with ElementTree

O'Reilly ONLamp - Mon, 2010-05-10 22:16
Python's xml.etree.ElementTree library makes it easy to use XML data in your application or library.

Four short links: 20 April 2010 - CS Epigrams, Star Trek Made Real, Python Filings, and Difficult Games

O'Reilly ONLamp - Mon, 2010-05-10 22:15
Epigrams in Programming -- all from the remarkable Alan Perlis. By the time I learned that he was responsible for such gems as "Syntactic sugar causes cancer of the semicolon", "A language that doesn't affect the way you think about programming, is not worth knowing", and "Around computers it is difficult to find the correct unit of time to...

Mock the Web Service

O'Reilly ONLamp - Mon, 2010-05-10 22:14
This post shows how to write a web service using Test-Driven Development. Our source code example is the exemplary active_merchant contribution to Ruby on Rails. It reveals how developer tests can correctly attack remote web services. Programmers writing clients (or servers) for any kind of web service should use these techniques. My next post will extend this one into the Abstract Test Pattern.

Four short links: 10 May 2010 - Barcodes, Python's Innards, Informed Elections, and Data Literacy

O'Reilly ONLamp - Mon, 2010-05-10 22:13
zxing -- barcode library for iPhone, Android, Java, and more. Guido's Python -- how the compiler and interpreter see your Python programs. It wasn't until I had this level of knowledge of Perl that I really know what the hell I was doing. (via Hacker News) UK Election Data -- this was posted on the eve of the UK...

Four short links: 17 March 2010 - MySQL, MySociety, NoSQL DB, and NoSQL Conference Notes

O'Reilly ONLamp - Mon, 2010-05-10 22:12
Common MySQL Queries -- a useful reference. MySociety's Next 12 Months -- two new projects, FixMyTransport and "Project Fosbury". The latter is a more general tool to help people organise their own campaigns for change. riak -- scalable key-value store with JSON interface. (via joshua on Delicious) Notes from NoSQL Live Boston -- full of juicy nuggets of info...

Ubuntu Is A Poor Standard Bearer For Linux

O'Reilly ONLamp - Mon, 2010-05-10 22:11
To whatever part of the general non-geek public is even aware of Linux the names "Linux" and "Ubuntu" are all but interchangeable. Over the past few years I've come to the conclusion that this state of affairs is, at best, unfortunate.

How Canonical Can Do Ubuntu Right: It Isn't a Technical Problem

O'Reilly ONLamp - Mon, 2010-05-10 22:10
I knew in advance that venting my frustrations with Ubuntu in the form of an article yesterday would stir up a hornet's nest. [...] Having read all the comments I'd like to clarify my thoughts on the subject.

Python 3.1: Programming Basics and Strings

Dev Shed Articles - Mon, 2010-05-10 13:00
Ready to take your first steps in Python? This three-part article series walks you through the basics, introducing important concepts such as strings. In this first part, you'll learn how programming is different from using a computer, how to install Python, and how to start using the Python shell. It is excerpted from the book Beginning Python: Using Python 2.6 and Python 3.1,, written by James Payne, Developer Shed Editor-in-Chief (Wrox, 2010; ISBN: 0470414634).
- If you like what you're reading here, you can find it at Wrox or purchase the entire book at Amazon. How Programming is Different from Using a Computer The first thing you need to understand about computers when youre programming is that you control the computer. Sometimes the computer doesnt do...

Content with Style: LinkedIn and Zend_Oauth

Zend feed for PHP news & articles - Fri, 2010-05-07 19:55
New from the Content with Style blog today there's a quick tutorial showing how to connect an application to LinkedIn with the Zend_Ouath component.

ZendCon 2010 Call for Papers -- Extended to May 17th

Zend feed for PHP news & articles - Thu, 2010-05-06 23:30
The ZendCon 2010 Call for Papers has been extended to May 17th Due to comments on the originally short time-frame allowed for the CFP , we have extended the deadline to May 17th to allow a more reasonable time for submissions. We have also clarified the speaker expenses in the updated text below.

Hash Functions

Dev Shed Articles - Thu, 2010-05-06 13:00
In this second part of a two-part series on hashes in Perl, you'll learn about hash functions and hashes in different contexts. This article is excerpted from chapter five of the book Beginning Perl, written by James Lee (Apress; ISBN: 159059391X).
- Hash in List Context When we discussed lists and arrays, we spent a lot of time talking about the difference between list and scalar context. Lets look at what happens when we evaluate a hash in list context. This is demonstrated with the following program: #!/usr/bin/perl -w # listcontext.pl...

Upcoming Webcasts - Meet Experts Online - Topics include: Open Data, Databases, SharePoint 2010, Gov 2.0, Security, Cloud Computing, CouchDB, Photoshop CS5

O'Reilly ONLamp - Wed, 2010-05-05 15:47
Spear Phishing the Masses: When Open Data is Dark Presented by Jeff Jonas May 6, 2010 Nullology: The Zen of DatabasePresented by C.J. DateMay 7, 2010 5 Reasons Why SharePoint 2010 Will Revolutionize Your Organization Presented by Dux Raymond SyMay 11, 2010 What is Gov 2.0?Presented by Tim O'ReillyMay 11, 2010 Hiring the Next-Generation of Cyber Security Professionals in GovernmentPresented by Lewis Shepherd May 13, 2010 O'Reilly Gov 2.0 Webcast - Cloud Computing and Security: Can't We all Just Get Along?Presented by Bernard Golden May 19, 2010 CouchApp Evently Guided Hack w/ CouchDBPresented by J. Chris Anderson May 20, 2010 High Dynamic Range Imaging and Adobe Photoshop CS5Presented by Jack HowardMay 25, 2010 Check out our Webcast page for on-demand videos of past webcasts and more upcoming live events.

How to Install XAMPP on Ubuntu Linux

Dev Shed Articles - Wed, 2010-05-05 13:00
This is an important tutorial on how to install and completely configure XAMPP to run without problems on Ubuntu Linux.
- To proceed please make sure you have the following requirements: Linux Ubuntu operating system - This tutorial has been written using Ubuntu 9.10 - Karmic Koala. XAMPP Linux Version installer - You can go to the XAMPP Linux Page and use the actual download link. At the time this tutorial ...