Phing is a project build system. It’s wonderful tool to automate every-days task by writing build scenario – Phing can do everything what can be done with PHP or Linux console applications. Today I was trying to use it in shared hosting server, but as you will see, Phing can’t do a lot of it’s [...]

Google Analytics is default choice for visitors tracking, but it can be also used for sales statistics. I have been working with e-commerce projects for a while, and have implemented very powerful back-end statistics tools, but I always try to search for easier to use (and functional enough) tools. Today I’m going to talk about [...]

Ruby on Rails vs PHP

February 24th, 2009

For me it doesn’t mater witch language (or framework) you choose – it’s fine as longs as it gets work done. Really, don’t get insulted by this – I think both technologies are fine. But I like reading articles all other the web and I think this video summarizes a lot of discussions. For more [...]

Scraping websites with XPath is very easy (read here), but how to scrape user’s friends list from social website if it can be viewed only when user is logged in?
What we need to do is to implement algorithm, which posts login and password fields to website login form and uses the same PHPSESSID id for [...]

Currently I’m working on a new project which works on Zend Framework. I really like this framework and it has been my favourite for quite a long time – I especially like it’s standalone components and huge space for your personal programming style. But… I don’t know how to correctly implement modularity in Zend Framework.
I [...]

PayPal payment with encryption

February 22nd, 2009

Recently phpfour.com posted very interesting library for payment gateways. In my situation, PayPal is only used to pay for orders – cart and order setup is done in our shop, so I do not want to have additional problems with users changing orders numbers, amount to be paid, etc. Today I’m going to show how [...]

Seadragon is technology, which allows you to create applications  capable of displaying unlimited size images in users (small) display. It works similar to Google Maps, where you move (zoom) closer and closer to the ground and see more and more details. When I first saw it (video available here) I couldn’t believe my yes – how [...]

I believe that everyone who develops in PHP knows Zend (I know them from certification which I’ve done some time ago), especially now, when Zend Framework is more and more popular. Zend also makes (and probably specializes) software for web servers – Zend Guard, Zend Optimizer, etc. Recently Zend introduced new product – Zend Server. [...]

Web scraping with PHP and XPath

February 17th, 2009

When I was writing about how I use web scraping, I was still hadn’t tried using Xpath (shame on me). sssscripting blog responded to my article with very good and rich post about all sorts of different techniques for scraping (with Ruby examples) and after reading this post in Kore Nordmann blog I finally decided [...]

In one of my projects, we need to send emails to our suppliers with new orders as Excel spreadsheets. We used to do it by hand, but when you have 10 suppliers and you make 200 products orders per week, after some time you are just tired of creating Excel spreadsheets, mailing them and so [...]