Archive for the ‘PHP’ Category
Monday, June 8th, 2009
I’ve been doing some SOAP work lately (communicating with Java services by way of XML) and it’s time to recap how unbelievably hassle free and simple this is with the right tools.... Read More
Tags: Java, PHP, SOAP, warehouse, wsdl, xml, zend framework, zend soap client
Posted in PHP, Zend Framework | No Comments »
Thursday, May 28th, 2009
A few weeks ago I was discussing a project with Charlie Madison of ProWebScape. He mentioned H2O, that he would rather use that than Smarty. So I checked it out and it seemed like the natural evolution in PHP templating.... Read More
Tags: h2o, h2octrine, php doctrine, templating
Posted in Doctrine, PHP, h2o | No Comments »
Thursday, April 30th, 2009
I just got a mail from John Fraboni, asking about that MySQL wrapper I’m using in my Zend AMFPHP tutorial. ... Read More
Tags: fluent interfaces, mysql, PHP
Posted in PHP | No Comments »
Monday, March 30th, 2009
[code]PGNvZGU+DQp0YXIgLXhqZiBwaHAtNS4yLjkudGFyLmJ6Mg0KDQpjZCBwaHAtNS4yLjkNCg0KYXB0LWdldCBpbnN0YWxsIHBocDUtZGV2IGxpYm15c3FsY2xpZW50MTUtZGV2IGJ6aXAyIGxpYmN1cmwzIGN1cmwgbGlicG5nMTItZGV2IGxpYmZyZWV0eXBlNi1kZXYgbGlibWNyeXB0NCBsaWJtY3J5cHQtZGV2IGxpYm1oYXNoMiBsaWJtaGFzaC1kZXYgbGlieG1sMi1kZXYgbGlieHNsdDEtZGV2IGFwYWNoZTItcHJlZm9yay1kZXYgbGlianBlZzYyLWRldiBmcmVldHlwZTIgbGlieGZ0IGxpYnhmdC1kZXYgbGliY3VybDQtZ251dGxzLWRldg0KDQouL2NvbmZpZ3VyZSAtLXdpdGgtYXB4czI9L3Vzci9iaW4vYXB4czIgLS13aXRoLWNvbmZpZy1maWxlLXBhdGg9L2V0Yy9waHA1L2FwYWNoZTIvIC0td2l0aC1teXNxbCAtLWVuYWJsZS1pbmxpbmUtb3B0aW1pemF0aW9uIC0tZGlzYWJsZS1kZWJ1ZyAtLWVuYWJsZS1iY21hdGggLS1lbmFibGUtY2FsZW5kYXIgLS1lbmFibGUtY3R5cGUgLS1lbmFibGUtZGJhc2UgLS1lbmFibGUtZGlzY2FyZC1wYXRoIC0tZW5hYmxlLWV4aWYgLS1lbmFibGUtZm9yY2UtY2dpLXJlZGlyZWN0IC0tZW5hYmxlLWZ0cCAtLWVuYWJsZS1nZC1uYXRpdmUtdHRmIC0td2l0aC10dGYgLS1lbmFibGUtc2htb3AgLS1lbmFibGUtc2lnY2hpbGQgLS1lbmFibGUtc3lzdnNlbSAtLWVuYWJsZS1zeXN2c2htIC0tZW5hYmxlLXdkZHggLS13aXRoLXpsaWI9eWVzIC0td2l0aC1vcGVuc3NsIC0td2l0aC14c2wgIC0td2l0aC1nZCAtLXdpdGgtZ2V0dGV4dCAtLXdpdGgtbWNyeXB0IC0td2l0aC1taGFzaCAtLWVuYWJsZS1zb2NrZXRzIC0tZW5hYmxlLW1ic3RyaW5nPWFsbCAtLWVuYWJsZS1tYnJlZ2V4IC0tZW5hYmxlLXplbmQtbXVsdGlieXRlIC0tZW5hYmxlLWV4aWYgLS1lbmFibGUtc29hcCAtLWVuYWJsZS1wY250bCAtLXdpdGgtbXlzcWxpIC0td2l0aC1taW1lLW1hZ2ljIC0td2l0aC1pY29udiAtLXdpdGgtcGRvLW15c3FsIC0td2l0aC1mcmVldHlwZS1kaXI9L3Vzci9pbmNsdWRlL2ZyZWV0eXBlMi9mcmVldHlwZQ0KDQptYWtlDQoNCm1ha2UgaW5zdGFsbA0KPC9jb2RlPg==[/code]
The above worked on Intrepid, below is an example that worked on Dapper. Here I have compiled as static libraries and put them in the /usr/local/lib dir:... Read More
Tags: compile, configure, PHP
Posted in PHP | No Comments »
Thursday, March 26th, 2009
In the Zend Client tutorial I touched upon a little bit of code I’ve written recently for retrieving poker player statistics from various backend affiliate sites.... Read More
Tags: parsing, PHP, regex, regular expressions, scraping
Posted in PHP | No Comments »
Tuesday, March 17th, 2009
Update: Smoc is dead, long live h2octrine!... Read More
Tags: Doctrine, PHP, Smarty, smoc
Posted in Doctrine, PHP, Smarty | No Comments »
Monday, March 9th, 2009
I need to recap today’s adventures in parsing land, I’m currently writing a lot of different parsers that are retrieving information from various pages, sometimes I’m lucky and the info I want is available as CSV or XML, most often not.... Read More
Tags: fluent interfaces, parsing, PHP, regex, regular expressions, spiders, zend framework, zend http, zf
Posted in PHP, Zend Framework | No Comments »
Monday, March 9th, 2009
The other day I wanted to try out jQuery Galleria, it didn’t work out of the box with jQuery 1.3.2. Galleria is using the old style @ syntax which doesn’t work anymore. You basically have to go through the whole plugin and replace lines like this:... Read More
Tags: galleria, Javascript, jquery, MODx, PHP
Posted in CMS, MODx, PHP | No Comments »
Wednesday, March 4th, 2009
After using the stuff in the prior tutorial on the site I’m working on at the moment I quickly realized that I needed to be able to use chunks as templates, just like Ditto, to handle repetitive stuff. It doesn’t make sense having duplicate HTML all over the place.... Read More
Tags: CMS, MODx, multi language
Posted in CMS, MODx, PHP | No Comments »