PHP Optimization and Scalability – Slides and Source

I gave a talk for the San Jose PHP meetup last night on PHP scalability and optimization. Everything from good code (and bad code) to infrastructure (including Cloud Hosting with Aptana) was covered.

If you have any questions, feel free to post them in the comments, I’ll respond to them as soon as I can!

Enjoy.

Source Code

Scalability In PHP
View SlideShare presentation or Upload your own. (tags: scalability php)

Server-Side JavaScript Talk Slides & Source

It’s well overdue, but I’ve finally managed to get this stuff up. Here are the slides from my presentation on Server-Side JavaScript, as well as the source code for the Jaxer REST API provider and consumers that I wrote.

I will do a post in the near future going over the code, and some of the configuration tweaks that I made, but hopefully this will hold you over until then.

Source Code

Server-Side JavaScript
View SlideShare presentation or Upload your own. (tags: javascript server)

Aptana Launches Cloud, Jaxer, and Studio 1.2

So, if you’ve been following me for a while, you’ve probably noticed that I’ve seemingly dropped off the face of the planet. Essentially, I did, but I’m back now with lots of good news. We’ve been hard at work on a big-ass milestone for Aptana: Three products launched… most notably our cloud initiative.

Here’s a quick run-down of each product:

  • Aptana Cloud – Aptana Cloud is the ultimate in ease and efficiency — a suite of online services integrated right into Aptana Studio 1.2 that puts the power of cloud computing to work for you. Streamline your deployment and development processes at costs far less than doing it yourself.
    Learn More
  • Aptana Jaxer 1.0 – We’re pleased to announce that Jaxer 1.0 is official! Jaxer is the world’s first Ajax server, and an emerging server-side JavaScript solution built on the Mozilla Firefox 3 engine. Best of all, we’ve also included it as a free option in our cloud offering.
    Learn More
  • Aptana Studio 1.2 – Aptana Studio offers unprecedented support for Ajax combined with today’s popular Web platforms. Download Studio yourself or plug it into Eclipse to see for yourself. We’ve also added great new support for PHP, Ruby on Rails, and Jaxer.
    Learn More

In addition to all this new goodness, I’m also working on some fresh new content. Look for articles about building REST consumers and providers in Jaxer, load balancing queries using MySQL replication, progressive file uploads with APC, REST in PHP, and more. Stay tuned, and check out all the cool stuff we’ve been working on over at Aptana while you wait!

Jaxer 1.0 Now Available (RC B)

It’s been awhile since I’ve made any mention of Jaxer, and for good reason. The Jaxer team at Aptana has been hard at work getting Jaxer ready for 1.0 Release. That day has come, and I’m proud the first publicly available version of Jaxer 1.0: Jaxer 1.0 RCB. As far as functionality goes, this release is pretty much feature-complete, and we just need some people to kick the tires a bit before we officially tag it as 1.0.

So, what’s new in this version of Jaxer? Quite a bit, actually, and if you’ve been using 0.9x releases of Jaxer until now, a lot has changed for you as well. As usual, Jaxer is available bundled into studio (starting with the recently released 1.2 version), as well as the usual stand-alone. Read on for a full summary of what’s new…

Read the rest of this entry »

Server-Side JavaScript – All the Cool Kids Are Doing It!

That’s right kids, I’m speaking at the 6th International AJAX World RIA Conference & Expo! I’ll be giving a session on server-side javascript, and how it will make your life better, your apps cooler, and your friends jealous!

Read the full entry for details on the session, but here’s a little introductory overview (for the sake of not re-writing everything, I have just copied and pasted the announcement)…

Server-side JavaScript (SSJS) is growing in popularity fast since developers realize it can drastically simplify Web app creation by letting you use using the same technology stack on both the client and the server. While server-side JavaScript is not new – it was a part of Netscape’s vision 10 years ago – times have significantly changed with 10x faster hardware and networks, making that original vision for the Web now a reality.

In this session delegates will learn how to:

  • Overcome common hurdles and pitfalls of client-side only JavaScript development.
  • Speed up development time by cutting out extra server-side code and processing scripts that are no longer necessary.
  • Clean up your code base by reducing (or even eliminating) the number of languages needed to leverage to accomplish common tasks (i.e. Why bother with server-side PHP scripts to fetch database results when you can do it all in JavaScript on the server? Why mess with Curl to fetch content that your JavaScript code can grab in one line?)

Read the rest of this entry »