Archive for January, 2007

Learn Ruby on Rails: the Ultimate Beginner’s Tutorial

Wednesday, January 31st, 2007

Make your mark in the brave new world of Ruby on Rails! In this action-packed adventure, Patrick provides rock-solid foundations in object oriented programming principles, and a detailed explanation of Ruby syntax. After this comprehensive tour, you’ll plunge into the mysterious depths of the Rails framework. You’ll emerge enlightened and ready to chart new web application territory.

PHP 4.4.6 Released

Monday, January 29th, 2007

The PHP development team would like to announce the immediate availability of PHP 4.4.6. The main issue that this release addresses is a crash problem that was introduced in PHP 4.4.5. The problem occurs when session variables are used while register_globals is enabled. Details about the PHP 4.4.6 release can be found in the release announcement for 4.4.6, the full list of changes is available in the ChangeLog for PHP 4.

Creating an Ajax Process Using PHP and Oracle

Wednesday, January 24th, 2007

Use the power of JavaScript to add seamless database interactions to your Web pages.

The Shape of Future Processors?

Monday, January 22nd, 2007

I read this article on CPU trends Converging Design Features in CPUs and GPUs. Matthew Papakipos writes:

Where are both CPU and GPU designs converging?

  • Both processors will be massively multi-core –- think hundreds of cores — within a five-year period.
  • Both processors will have complex memory hierarchies, with programmer managed core-local memories and core-local hardware-managed cache. (My own belief is that hardware-managed cache will decrease substantially in importance.)
  • Memories will be strongly non-uniform with significant latency and throughput differences between local and non-local memory.
  • Accelerators that can offer substantial speedups for specific tasks, either integrated on-chip or available via a HyperTransport-type interconnect, will be ubiquitous.
  • I’m more interested in modern CPUs trends and their relation to PHP, and not GPUs. Here are some of my thoughts:

    Well PHP running in pre-fork mode on Apache or FastCGI on IIS/Apache should have no problems handling massively multi-core architectures, assuming the cores are uniform in design.

    As to complex memory hierarchies, we already have to handle the different latencies in harddisk -> harddisk cache -> cpu data/instruction caches. We always had the option of caching data on a hard disk or RAM disk, and some PHP Accelerators already give you the option of caching data in shared memory — I just see it as more of the same for PHP developers. Things get more interesting for PHP compiler and opcode cache designers as they will have more options for caching PHP opcodes and data.

    What is interesting is the possibility of hardware acceleration of PHP. To me, it’s not likely that any CPU vendor will come up with a hardware accelerator for PHP, but a CPU accelerator for .NET or java opcodes is a strong possibility. Thus in the long run, .NET or java compilers for PHP (and Python and Perl) could become mainstream.

    php|tek 2008: Chicago

    Sunday, January 14th, 2007

    php|tek 2008: Chicago The publishers of php|architect Magazine are proud to announce the php|tek 2008 conference in Chicago, Illinois, USA. The PHP Community meets May 20-23 for one of North America’s premier PHP conferences of 2008. Join us to hear top speakers such as Derick Rethans (eZ Systems), Lucas Nelan (Facebook), Chris Shiflett (OmniTI), Eli White (Digg) and yes, even Terry Chay (Tagged). For the past two years, php|architect’s spring conference has sold out weeks before the start date, so if you’re interested in attending, don’t delay, and be sure to sign up ASAP!

    The Definitive Guide to Web Character Encoding

    Wednesday, January 10th, 2007

    What is character encoding? And which form of encoding should you use? Displaying humble text online has its challenges, but as Tommy explains, good character encoding practice takes no more than a little diplomacy in the form of some forethought, and consideration for your users and their systems. His definitive guide makes essential reading for anyone preparing content for the Web.

    php architect offers

    Wednesday, January 3rd, 2007

    Starting today (January 3rd) php architect are running their ‘7 days’ promotion. For each of the following days you can buy certain products at heavily discounted rates. Today the offer is for 50% off the cost of the Zend PHP 5 Certification Guide book (both print and PDF version).

    This means you can pick it up for $17 instead of $35. Of course shipping costs are added on-top of this, but they’re the same as usual and it’s a great way to pick up a very good book, half price. Check out the offers here: http://www.phparch.com/sevendays.

    PHP|Architect’s Guide to PHP Design Patterns

    Tuesday, January 2nd, 2007
    Title: PHP|Architect’s Guide to PHP Design Patterns
    Reviewer: Marcelo Santos Araujo
    Category: PHP books
    Publisher: Marco Tabini & Associates
    Author: Jason E. Sweat
    Summary: Overall, this is a good book for PHP developers who want to start learning about the basics of software design patterns and test driven development techniques applied to PHP.
    PHP|Architect's Guide to PHP Design Patterns