Quantcast
Channel: sklar.com/blog
Browsing index pages (15 articles)
↧

Fast Multiple String Replacement in PHP

At work, we added a language filter to Ning Pro last month. It lets Network Creators have naughty words (for the Network Creator's definition of "naughty") replaced with * characters. A...

View Article


PHP Microbenchmarking

I just posted on the Ning code blog about the PHP microbenchmarking framework we released:I'm pleased to announce the release of ub, a PHP microbenchmarking framework. You can download it from...

View Article


ZendCon 2008: Static and Dynamic Analysis at Ning

I presented my Static and Dynamic Analysis at Ning talk today at the 2008 Zend/PHP Conference. The conference is much bigger this year than last, very exciting to see all the different things people...

View Article

PHP + Emacs

Here are some links that are related to the Editor/IDE panel I'm on today at the 2008 DC PHP Conference:GEBEN (interactive debugging)nxhtml-mode (php-mode, multiple major modes)

View Article

"Little Bobby Tables" vs. the US Government

Chris often cites this xkcd cartoon in security talks, since it's a) funny and b) a good example of SQL Injection. I was curious to see what sorts of shenanigans one can get away with in a legal name....

View Article


Prolific Name-Sources

I had never heard of Haskell Curry before I read the preface to SICP just now, but it occurs to me that his distinction of having each of his names (first and last) turned into a term used in the...

View Article

Let a thousand string concatenations bloom

How many different ways (in PHP) are there to concatenate the string values in two variables and put the result in a third variable? Here are a few to start:$alice = $bob . $charlie;$alice =...

View Article

DC PHP 2007 Slides

The slides from my "API Design in PHP" talk at the 2007 DC PHP Conference are up at http://www.sklar.com/files/dcphp-2007-api-design.pdf. Enjoy!

View Article


Subversion Time Machine

Jon Aquino, my talented cow-orker built a time-lapse view for Subversion. This is fantastic. We switched from Perforce to Subversion recently (at Ning), and one of the things that I miss about Perforce...

View Article


API Design Talk Slides

The slides from my API design talk yesterday are available. If you missed Zendcon, come to the DC PHP Conference in a few weeks. I'll be talking about API Design there on November 8.

View Article

Ning Turns Two

As Diego and Gina have pointed out, the Ning Platform has just celebrated its second birthday. The past two years have been a lot of work and a lot of fun. It's been gratifying to see the crazy,...

View Article

Zendcon 2007

Zendcon (aka "The 2007 Zend/PHP Conference and Expo") draws near. I'll be there giving a talk about API Design in PHP and undoubtedly getting sucked into various conversations about how PHP's...

View Article

E-Mail Address Validation and Mission Creep

+1 to what ndg said in response to Jacob's post about e-mail address validation. I think Jacob sort of touches on this in his post but too often it's not explicit what people are looking for under the...

View Article


API Design in PHP at ZendCon 2007

I'm going to be giving a talk on "API Design in PHP" at ZendCon 2007 in October. Our PHP API at Ning is a little over two years old at this point. There are some things I love about it that I think...

View Article

Runkit, "static", and inheritance

A PHP issue that comes up over and over again is how the static keyword doesn't know about inheritance. That is, code such as: class Masons {    static $where = "World-wide";    static function show()...

View Article

Browsing index pages (15 articles)


Latest Images