Zend Framework 1.0.1

Posted July 31, 2007, 8:07am In: Zend Framework

A little late, but the Zend Framework got an update!

http://framework.zend.com/

Update your library!

BetaBooth

Posted July 19, 2007, 2:38pm In: Web Related

A couple of my comadres have been hard at work with their new venture called BetaBooth

BetaBooth is a place to collect, analyze, and debate public opinion around the world. Polls are created and answered by a community of citizens.

http://www.betabooth.com/

I highly encourage anyone even remotely interested in public opinion and debate to at least take a gander at one of the coolest Web 2.0 sites around.

9rules Growing Pains

Posted July 16, 2007, 11:52am In: Web Related

I’ve been a fan of 9rules since I heard about its launch, several years ago. Since then, I’ve applied twice (and got rejected twice), joined their community (twice), and seen a flurry of activity in the blogosphere.

Recently, however, I’ve had some frustrations using their site.

I forgot my password…
Last year, I finally signed up to the 9rules community. I’m more of a lurker than anything else, so it took me a while to finally actually sign up. Some stuff went down, and I didn’t end up visiting for a while… Then I returned to 9rules and tried to sign in.

And again. And again.

Just how many passwords do I have? So I finally opted to submit a forgotten password request. But oh ho, what email address did I use? Is it potentially the retired ryanbrooks.net? Of course, it could be another email address I have. So I check my spam filters, wait a while… still nothing. You can see where this is going. See, typically when a system is developed with a forgotten password request, it sets your password to some randomly generated alpha-numeric key, and sends you an email. So what happens the email is no longer active, or for some reason you just don’t get the email at all?

Ideally, it should keep an audit trail of my password requests, and allow me to sign in with my old password (yaknow, in case I remember it) as well as the new one that I could potentially get in my email.

Oh, here’s a thought. Does this mean I can reset the email of Scrivs; any other member of the community? It wouldn’t take much to write a little script to scrape the usernames of 9rules and submit requests for each one. That could definitely throw a wrench in things.

So I decided to go to the top…
Looking around for a contact page, it is immediately viewable in the topmost navigation portion of the site, right next to the search. That’s handy. So I click it.

Want to talk to us? We want to hear from you, however it’s important to contact the right person for the right issue. To make it easy, we made a form for you! Pick the issue you want to contact us about from the drop down menu, fill out your email address and your message, then click submit. So easy…let’s do this…

Now, this is a personal pet peeve of mine. I. Hate. Contact. Forms. Don’t get me wrong, as a developer I can appreciate the need for them to direct inquiries - but as a paranoid web user, I prefer to send email from my client of choice; I like to have a record of the contact in my sent items. So I let out a melodramatic sigh and fill out the form, selecting “Technical issues with the site” from the drop down. I try to be specific about my problem and hit the submit button.

Nothing happens. What the hell! I just did all that for….

Oh, wait.

Thanks for using the contact form. Without you using it we would be left wondering if anyone actually uses this thing, but now we are certain that it is used because of you. You do not understand how special that makes us feel.

I must confess, I’m spoiled by Web 2.0. Where’s the immediately identifiable success message? Yellow fade technique? A different color? Strong font weight? No, this is what I see:

9rules_gp_1.jpg

Okay, minor irritation. Ordinarily this wouldn’t concern me, but I just thought I lost my inquiry.

And now, we wait. And wait. An entire weekend passes. I didn’t receive a carbon copy of my message, no auto-response that says “Thank you, your message was received.” Nothing. Now, of course, once again it COULD be my mail server. Doubtful, but it is possible.

Finally, I opt to create a new account…
I’ve given up. I create a new account. Now, here’s the thing I like about 9rules.

The signup process is stupid easy. Pick a username (assuming that it wasn’t already taken. Great, now I need an underscore in my name; I hate underscores.), provide my email and voila.

Whoops! Either you left the username field blank or you’ve chosen a username that is already in use. Should have gotten here sooner! Try another one.

Thanks guys. Thanks a lot.

Except that this time, they have chosen to deviate from their established design pattern. I get redirected to the following page:

9rules_gp_2.jpg

Maybe it’s just me, but this isn’t what I expect.

And I’m finally in!

A couple problems.

Straight from their FAQ:

Q: How do I remove friend(s)?

If the friend is in the Top 9, first click the X to remove them as a Top 9 friend. The friend now has a normal friend status. Click on the X to remove the friend from your friend’s list.

What, you mean this X?
9rules_gp_3.jpg

Ooooh, no, it must be this one.
9rules_gp_4.jpg

Both have the same action. It took me a little bit of time to decipher which did which from the URL, since Firefox is really shifty about choosing when to show me the Alt Text. (Hint: “title” attributes are handy on hyperlinks too!)

Obviously it’s hard to keep your copy up to date with a community that is evolving and growing as fast as 9rules, but come on guys, try just a little bit harder. Please? For me?

And finally, time to start digging for the feeds. This did kinda take me a while (cause yaknow, no search regarding “feeds” turned up anything in their static copy), but I found them! My last complaint about 9rules?

No such file, why?

Nothing personal…
My own struggles with using the 9rules site are nothing but minor irritants. While it may sound as if I’m attacking the team, I am doing anything but.

This just reestablishes a well known point…
9rules has done a downright fantastic job as building a huge community for designers, developers and bloggers. But building and maintaining a community is hard and I hold nothing but respect for the 9rules team, as well as the die-hard users that make it what it is.

I look forward to being part of a community that is sure to grow for years to come!

Zend Framework and YAML config files

Posted July 13, 2007, 8:41am In: Zend Framework, PHP

Shahar has a post about using Zend_Config and YAML.

http://prematureoptimization.org/blog/archives/39/

Back Online!

Posted July 12, 2007, 6:25am In: Personal

After a two month battle with the previous registrar of zed23.com, Globat.com, I’ve finally been able to transfer my domain to shiny new Hostnine hosting.

I’ve also cleaned up a lot of old posts, thrown together a new template (Yeah, I’m not a designer, it is a work in progress) and upgraded my Wordpress install.

There’s been lots going on in the past couple months around the web, and the Zend Framework has finally reached a stable release number of 1.0.0! So excuse me while I dust off this stagnant blog, and get to writing entries anew!

Personal rant, and some goodies!

Posted February 28, 2007, 8:51am In: Zend Framework, Social Networking, Personal

Something I’ve been hearing a lot of lately is how companies and individuals want to set the standard. This can be a market standard, a development standard, or another business “standard” that they want to share with their fellow developers.

This seems a slight contradictory statement at times as “setting the bar” seems to be selective - for example, when it suits the interests of the individual rather than the company or the audience of the standard. This grows more and more confusing because in most cases with day to day development and business practice, most individuals I’ve had recent experience with aren’t really market experts at all.

Scenario:

Person A: Let’s ensure that we do this feature for this reason.
Person B: But why? It’s less accessible for the user, it isn’t going to optimize our development, et cetera. (and justifiable reason will do, just make sure you’re not arguing the point because you’re lazy).
Person A: Because that’s what the market trend is directed to accept.

If one is going to undertake such an ambitious venture as setting a new standard, or raising the bar so that competitors follow suit, don’t try to pick and choose which standards you’re going to enforce simply because they apply to your personal goals while relying on the “all powerful market” to justify other decisions. If you’re going to try to be the standard, BE the standard. In the case above, it was a pick-and-choose decision making process, and one I hope that doesn’t cascade through the rest of the company’s ventures.

In other news:

I’m quite the fan of this article, Top 18 Mistakes That Kill Startups. Definitely a must read.
Just a reminder that the Zend Framework 0.8 is out now - if you’re on the mailing list, you know that.

I’d like to thank (and by thank I mean through gritted teeth) Marco who has introduced me to another addictive site, Virb. It’s still in beta, but if you have an account, simply look me up (I’m the only Ryan Brooks that comes up in a search at the moment). I have to say, I’m quite impressed with it.

There’s another application called Ning which got itself an article on Techcrunch. Ning supposedly allows you to create social networking applications in minutes. I’ve seen applications like this over the years, and I hate to say it but I think this is yet another application that is going to fall short.

<3 __autoload

Posted February 21, 2007, 9:03am In: Zend Framework, PHP

When developing with the Zend Framework, it’s been my experience that the majority of our class files have a myriad of require statements before the class declaration. There are cases where these requires are not needed.

PHP 5.2.1 brings us all sorts of new goodies, one of them being the method spl_autoload_register(), part of the Standard PHP Library. When we tie this in with Zend::loadClass(), we can load our class files as needed.

Though there is some question about problems with application servers and things like bytecode caching, this gives us the added benefit of enforcing consistency in class naming - with consistency comes predictability, and saves us from having to RTFM, or double check our directory structure every time to find the proper file.

Though I am using this autoload method, I want to make sure that it is not slowing my applications down - there is quite some heated discussion on using auto-magical methods versus carefully crafted include statements. I’ll be paying very close attention to my dispatch times, and time will tell if I continue using this method.

mootools ResizingTextArea Component

Posted January 23, 2007, 1:25pm In: Javascript

A little while ago I saw a post by Richard McMahon regarding his post on ResizingTextArea with Prototype. However, recently I’ve grown rather fond of mootools.

As such, I’ve whipped together a brief javascript class to use mootools functions and classes, as well as added a bit more functionality.

The requirements are as follows:

  • Moo.js
  • Function.js
  • Array.js
  • String.js
  • Element.js

You can choose your build here.

There are two methods to initialize the class.

The first is to add an onfocus.

Or iterate through all textareas and add an event listener:

A demonstration can be found here:

zed23.com/demos/rsta/

All comments, suggestions and death threats are welcome.

Prototype + Zend = Good times

Posted January 18, 2007, 3:56pm In: Zend Framework, Javascript, PHP

So a quick update;

Prototype, the Javascript Library we know and love, has a new homepage at http://prototypejs.org/

And the Zend Framework has a brand new version out after last nights code freeze at http://framework.zend.com/

Happy Holidays!

Posted December 25, 2006, 12:09pm In: Personal

Busy! Super busy! But just wanted to throw a post out there to let ya’ll know I’m not dead. So happy holidays, and we’ll see you all in the new year!

In the meantime, go check out http://www.cambrianhouse.com/ - they’ve been doing some right cool stuff lately.

As well, sIFR3 is finally in beta! http://novemberborn.net/sifr3/beta1