E-com DevBlog Spider-ball-vacuum

17Jun/110

CronMaker, your cron problems are over

I found a new tool and I am on blog posting kick so I thought I would share with everyone.  The tool is http://www.cronmaker.com/ and it helps with making cron expressions for use with quartz scheduling.  Now don't get me wrong the quartz is well documented and it is easy to build the expressions, but I always have to go look it up anyway.  This saves me a step.  Put in when you want it to run and bam! there is your expression. Don't forget to hit with your spice weasel.

Print This Post Print This Post
1Sep/108

Zend Framework vs. CodeIgniter

I hope nobody minds but this is going to be more of a rant than an actual performance comparison of the two frameworks. First of all I started using CodeIgniter almost two years ago, and while it was a bit of a thorn at first it was never super difficult to figure out how to do stuff. The documentation was easy to understand and full of examples of what to do, plus things worked when I did them. As a result I've used CodeIgniter on several projects since.

Recently at my current job the powers that be (hereafter referred to as "they") decided to go from a progressive coding approach to a more MVC type approach using a framework (either custom made or already built). I'd like to point out that I'm all for using a framework especially on the applications we've got right now. I did suggest CodeIgniter as the framework of choice but my suggestion was received with disgust, so I kept my mouth shut...big mistake.

After attempting to build their own MVC Framework "they" decided to go with Zend Server Community Edition. Now I didn't (and still don't, which is sad) know a lot about the Zend Framework so I was somewhat excited to see it in action, especially since my experience with CI has been so great. And I guess maybe that's one of the reasons I'm posting today.

For anyone out there wondering if Zend is a good match for you, STOP!
For anyone out there who recently implemented the Zend Framework, WHY? It's not to late to turn back.

I've been working with the Zend Framework for about two weeks now, and I don't expect to know everything there is to know about Zend but I do expect to know SOMETHING. Let's just take a trip down memory/nightmare lane.

Please excuse me if I can't remember all the details, I've tried so hard to block some of this from ever resurfacing.

My first task was to figure out how to ajax with zend, seems simple enough right? Shoot zend even created a helper that loads the (almost) latest jQuery libraries for you so you never have to worry about being up to date. Not only that but zend has a way to build your Ajax request so you don't have to know how to do that yourself either. What they don't tell you is that in order for the jquery libraries to be loaded on your page, you DO have to use at least one of their custom php jquery building tools (in other words, you can't make all your jquery by yourself), otherwise the libs just wont load. Instead they let you beat your head against your desk for hours and hours until you finally un-comment a test jquery builder you had previously used only to find out that was the missing piece.

Next our whole team has been tasked with creating a new application using zend, it's been over a week now, I still feel like I don't know anything. Now you might be saying to yourself, "did you try google dipstick?" Yup sure did, and as google does it pulled up all kinds of links. Almost always the top 5 go strait to the official zend documentation which is by far the worst documentation I've ever seen about anything. It's like when someone has a secret and they know you want to know, but they know that if they tell you then they'll lose the leverage they have on you, so they just hold on to it with that smirk on their face and never tell you anything. There's all kinds of words but they don't say much and the examples are horrific at best. One example I was looking at had a variable in it, and they'd conveniently cut out the part where they actually initialize that variable so you have no idea what values it is supposed to hold. Turns out it was an array, but I still don't know if it was a named array or if it can simply be numbered. I actually got a little excited when I stumbled onto the Programmers reference guide, I thought "yes if anything will help this is it", I was wrong to think that and I apologize.

Now here's the kicker, I do need to backtrack a bit. When you install zend there is a GUI that is installed to help you manage how the server works, I've recently lost this GUI, by lost I mean I know where it's supposed to be and the files are all there but the GUI doesn't show up when i put the correct URL in my browser. So I started researching this, only to find that a certain part of the server called lighttpd is not running, the GUI is the only thing that requires lighttpd. So i started googling lighttpd is not running and got a fair amount of hits on that one. None of which helped. Finally I decided to create an account with the zend forums and humbly ask the zend folks themselves what to do about my problem.

To my dismay, when I logged in I found a little counter at the bottom of the page that said "Users browsing this forum: disgruntled and 0 guests" (if you haven't guessed, I'm 'disgruntled'). You have got to be kidding me, I'm the only one on this forum? Now to be fair it was after 5:00 on the east coast so I imagine the 3 people using zend in that part of the world have gone home.

how many people on this forum?

how many people on this forum?

Needless to say, I'm a little disappointed, awe who am I kidding? I'm downright furious.

On the flip side, if anyone reading this has any idea on where I can get my hands on some useful examples of zend at work. Please leave them in the comments.

Print This Post Print This Post
16Jun/1066

PhoneGap – The missing android/windows setup guide

The Introduction

Yesterday I spent a good part of the day setting up the absolutely fantastic framework PhoneGap.  If you don't know what PhoneGap is, and you are a web developer, you are truly missing out. The only thing I can compare it to (from a high level) is Adobe Air.  Air lets you build a page out of html, css, and js and then renders it in a webkit self-contained browser that you can then package up and distribute on any platform that runs air (Win/Mac/Linux), and yes you can also build Air apps with Flex and Flash.  PhoneGap is similar to Air as it too uses html, css, and js to build apps for Android, iOS, WebOS, Blackberry, Symbian, and Nokia.

Now don't let my title fool you, there is a guide (and a pretty good one at that) waiting for you in the PhoneGap Wiki, the problem is that it is now out of date and will cause you grief if you try to follow a few of the steps because they look like they are the right steps to follow.  That's why I've created this entry to walk you through the mistakes I blundered through to get it set up and working on my Windows 7 box (My mac died, and my linux lappy is a netbook - not ideal for developing on... plausible, but not ideal).

Print This Post Print This Post
3Feb/092

Form Contorls – And some jQuery solutions

I was researching a little Twitter meets jQuery and I stumbled on this blog post. While it was helpful, and I may consider using the plugin, it was what the developer had 'tweeted' about that caught my eye and caused this post to exist.  You see he had posted two links to form controls.  The first link was ideas/new controls, and the second was the jQuery solution to those form controls.  Since our interal apps department made the switch finally started using jQuery -as it was pointed out how easy it makes things and how it can improve their existing code (smaller, better, faster)- last week from in addition to prototype to jQuery, I thought they would get a little added bonus out of this post (since they use a ton of form controls).

So first up, a link to a nice form controls gallery (it even posts which js libs can accomplish such feats)

Form Control(ery)s

And secondly a link to the jQuery solutions to each of the form control interfaces

jQuery Form Control Solutions

Between those two pages, you can dress up any page, form, or what-have-you to do almost anything you want.  And it will look like the fresh-burnination* doing it.

Another short and sweet post.

---------------------------------

*fresh-burnination is a tribute to strongbad, and the Men In Black, with a little CW (WB) mockery thrown in.  It is derived from the "new hotness", strongbad style, or the "fresh burnination".

Print This Post Print This Post
2Jul/081

Tools of the Trade

I just thought I'd post a list of the tools that I use whenever I web develop.  You may be using some of them, or you might not.  Some of them probably don't even fit under the "web development" category, but that's the beauty of the DevBlog, I'm just throwing out what I use and you're free to take it or leave it (also if you have a tool that is awesome that isn't listed, throw it in the comments).

Browsers:

  • Firefox 3 - Great browser, much better than the bloated version 2 release.
  • Safari 3.1.2 - awesome browser, lacking in tools
  • IETester - uses the IE5.5. IE6, IE7, and IE8b1 rendering engines
  • Opera 9.5 - when I have a ton of ram and cpu to kill - see previous post

You can use Firefox as a standalone browser through a usb stick by going to portableapps.com and downloading the standalone version.  They have some tutorials there on how to move your profile etc.  There are many other good apps there as well.

Browser Specific Plug-ins/Add-ons:

IE:

  • IE Developer Toolbar - The wannabe firebug utility for IE
  • Fiddler2 - shows all of your http requests (helpful for finding leaks, or where files really are).
  • IEPro - Firefoxerize your IE... well kinda

Safari/any browser:

  • XRAY (bookmarklet)

FireFox:

*Honorable Mention: YSlow is a Yahoo tool that tells you how well your site performs based on speed standards formulated by Yahoo.  Since Yahoo was one of the first sites to use sprites for all their images, they may just know what they are talking about.  This tool will tell you how long it took to load your page, and grade it.  It gives you a 'report card' that you can use to make your page better.  I don't use it all the  time, but it's a nice little addition to the portable Firefox3 usb stick I have...

Color/image Tools:

  • ColorPic - Really nice color selection/palette utility
  • Gimp - like photoshop, only really different
  • colorwizard - I have a feeling adobe ripped this off for Kuler, but I can't prove it...
  • adobe kuler - I actually found this at adobe labs before the color wizard, so my suspicions on who made what first may be based on the quality of them...

Measuring and Screenshot Tools:

  • jRuler - Fantastic pixel measuring tool.
  • fsCapture 5.3 (last freeware version) - My favorite Screen Capture utility.
  • ScreenHunter - Screen Shot util (one of Dustin's fav's).

Misc Tools:

Completely unrelated to web developing sites/tools:

  • SpiralFrog - PC users (with "playsforsure" media devices) rejoice!
  • Songza - Everyone rejoice! (internet jukebox)
  • LastFM - personalized radio station
  • Pandora - LastFM was kinda based on this... so was songza... hmm...
  • imeem - Like the 3 above, and yet more, social
  • lifehacker - A great site for information and tutorials on hacking your life
  • netvibes - Fantastic RSS collection util, all the sites you read on one page, fantastic (kinda like igoogle, yahoo, etc.)

That about wraps up the tools that I currently use when developing, but feel free to throw more suggestions in the comments.  Who knows, maybe I'll have to do a follow-up post with all the goodness that gets suggested.

Print This Post Print This Post