Diving into the Yahoo! Open Stack – SF PHP Meetup April 2nd, 2009

When: 6:30pm Thursday April 2nd, 2009
Where: CBS Interactive – 235 2nd Street San Francisco, CA
RSVP: Diving into the Yahoo! Open Stack


Join the SF PHP Meetup for an exploration into the Yahoo! Open Stack and learn how to leverage Yahoo’s platforms and scalability to build your next application. We will examine the components that make up Yahoo’s open stack: developer tools (YUI), data apis (YQL, BOSS), social apis, and the application platform (YAP).

  • Overview
    • What is the Yahoo! Open Stack?
      • Developer Tools – YUI, Tutorials
      • YOS SDK for PHP
    • Data APIs – YQL, BOSS …
    • Social APIs – Profiles, Connections, Updates, …
    • Application Platform
      • OpenSocial Support
  • How does it all work?
    • Development Workflow
  • Building an open application with PHP and YOS
  • Common Problems & Solutions
    • CAJA
    • OpenSocial

More about the event after the break

Posted under Events, Internet, PHP, Technology, Tips & Tricks, Web Development

This post was written by Michael Tougeron on March 11, 2009

Tags: , , , ,

Validating HTML with tidy

If you ever have to do HTML validation or parsing in PHP the tidy extension is the way to do it! This extension lets you use the abilities of tidy in some pretty powerful ways. The extension, written by John Coggeshall, has been around for several years now. I can see how if someone just took a quick glance at it they could think it was nice, but not really something they need. How wrong they would be! If you take a few minutes and look under the hood, tidy is an extremely powerful tool. Not only can it format html to standards (what most people use it for), it can also be a powerful parser and validation tool.

When I’m dealing with user inputted data where I want to allow HTML I have two concerns. First, I don’t want to allow XSS (some xml parsers think <p kkk=”></p>” closes the <p> tag). Second, the user frequently enters invalid html (e.g., doesn’t close the <a> tag). Fortunately tidy can easily deal with both. The second issue is the easiest to solve by running tidy->cleanRepair() on the html. The first is taken care of by looping through the tidy nodes and rebuilding the html using a whitelist. More about how to do this after the break. Read More…

Posted under PHP, Security, Tips & Tricks, Web Development

This post was written by Michael Tougeron on January 15, 2009

Tags: , , , , ,

Making frameworks suck less – SF PHP Meetup Nov 2008

Terry Chay will be returning to speak again!  Due to popular demand Terry has agreed to give his recent “Making frameworks suck less” talk that he gave to the ZendCon08 UnCon this year. Be sure to wear comfortable shoes ’cause Terry will pack the room!

RSVP here: http://php.meetup.com/139/calendar/8911737/

The blurb from ZendCon08:
Terry Chay, the original PHP Terrorist, is well known for his criticism and ridicule of the Ruby on Rails framework. He criticizes, mocks, and f-bombs his enemies into surrender. In this discussion, Terry will share his ideas and thoughts on making frameworks better.

Map to CNET Networks, Inc.
When you arrive, please look for the PHP Meetup sign pointing you to the conference room. Please RSVP if you are attending so that I can prepare enough snacks and beverages.

Look forward to seeing you there!

This event can be found at:
http://php.meetup.com/139/calendar/8911737/
http://www.facebook.com/event.php?eid=39294579201
http://upcoming.yahoo.com/event/1195581/

Posted under Events, Internet, PHP, Technology, Web Development

This post was written by Michael Tougeron on October 9, 2008

Tags: , ,

SF PHP Meetup July 2008 – PHP::$unicode->i18n()

Kudos to Mariano for taking the lead while I’m out on paternity leave (I’m going to write about that ones of these days) and setting up July’s PHP Meetup.  Thanks to an introduction from Terry, Mariano asked Andrei Zmievski to talk about the unicode updates to PHP 6.  Due to the 4th of July, we’ve moved the meetup from it’s normal date/time to Thursday July 10th @ 7pm.  It is still at CNET like usual (thanks to GameSpot.com funding the meetup).

Title: PHP::$unicode->i18n()

Description:
PHP 6 brings fully functional and mature Unicode support to the Web world. This talk will cover all the layers of the PHP (bread)/Unicode (butter)/i18n (jam) sandwich. Come and find out how to work with locales, use collation to compare and sort strings, and format numbers, currencies, and dates for any country in the world. Bring your appetite because the toasty goodness is waiting.

When: Thursday, July 10th, 2008 at 7pm
Where: CNET Networks: 235 2nd St, San Francisco, CA  94518

You can RSVP on the SF PHP Meetup’s site or just show up.  I always like it when people RSVP so that I know how much food to buy.  But it isn’t a prereq or anything.

EDIT: I just saw that Terry mentioned PB&J and I like the idea.  So PB&J it is; plus the usual chips, sodas, candy, etc. of course.  :)

Posted under Events, PHP, Technology, Web Development

This post was written by Michael Tougeron on June 29, 2008

Tags: , , ,

MySQL Conf 2008 – PHP/DBUnit (Day 2)

I started off the day today listening to the keynotes at the MySQL Conference. Unfortunately I had to work on something so I wasn’t able to really pay attention. :( I hope I didn’t miss anything important.

After the keynotes, I decided to start off with the Testing PHP/MySQL Applications with PHPUnit/DbUnit session by Sebastian Bermann. I know I should already be using PHPUnit, but honestly I’ve never gotten around to it. I’m hoping that this will give me the kick in the ass that I need to start. :P

Read More…

Posted under Events, mysql, PHP

This post was written by Michael Tougeron on April 15, 2008

Tags: , , , ,