We're startin' over!

The new AZPunk 2.0 is an ongoing in-the-works project. That means there might be
some bugs here and there. If you're looking for the best in AZPunk experience, ditch the
Internet Explorer and get your www on with a real browser!

Beta

Member Login

Register

Not a member yet? Sign up right now!

Visit Our Friends

Support AZPunk.com, Visit this sponsor
Support AZPunk.com, Visit this sponsor

Facebook Stream

AZPunk on Facebook

AZPunk Headlines

Chris

AZPunk GeekFactor

The Summer of Code or The Perfect Monsoon

Chris • Saturday, July 10, 2010 • 6:11 PM

PHPStorm 1.0
My new IDE of choice

With my sons due date vast approaching many people have prophesized for me a life filled with sleepless nights and zombie-like days. If any new enhancements were to be made to AZPunk I knew I'd needed to do them before Ian arrived. So, I've spent the last month or so coding after work and on weekends typically into the wee hours of the morning to spruce the site up just a bit. Call it preparation for what's to come with parentdom and the lack of sleep.

Here's a bit of a behind the scenes story that brought me to this point. If dreams of keyboard shortcuts and recursive functions wake you up at night continue reading....okay not really....okay maybe. Just read!

I was attending a free session on CSS for Layout at a recent Desert Code Camp. I'm more of a backend (get your mind outta the gutter!), server code type guy so I'd been putting off the whole CSS Zen Garden thing. But lately I'd been focusing more time on the client side with jQuery/AJAX and it's use of CSS selectors. So when this free code camp session came up I knew the time to embrace the ominous div tag was finally here.

It was the first session of the morning and right off the bat I was completely lost. It was an uneasy feeling that I typically don't do well with especially when related to computer stuff. But then, about half way through the presentation the light-bulb went off and I finally grasped the concept that had eluded me and all my previous attempts at CSS layout. The presenter was talking about floats and margins and all this stuff that I'd always related to the entire page and not elements of a page. "So wait a minute...every element on a page has a margin? and a border? and padding?". She was explaining the Box Model and it was just the catalyst I needed to set the wheels in motion.

At that point I was eager to start practicing what I'd learned so I came home and plowed through The Guide that the presenter had put together for the session. I'd visited all the resource sites she cited at the bottom of the guide and at that point I was hooked and needed more. I downloaded an e-book copy of CSS: The Missing Manual and started going through it. The Missing Manual is a book series that's just a step above those Doing Shit for Dummies books. Regardless of the pride I had to swallow that book explained things so well that I went out and bought a hard copy so that I could take it with me and read on the go.

After tinkering around with examples from the book and various websites I needed to put my new found knowledge to use on something that I could relate to. It's okay doing the whole Hello World exercise but I find I need to apply what I've learn to the Real World to get the synapses purring. So, it was time to tackle a few of the AZPunk projects that I'd been neglecting.

I created a new branch of our production code and fired up my old standby Notepad++. But as I stared at the screen my excitement to get started was quelled by the blinking cursor and the vast Notepad emptiness that surrounded it. Yes, I've been coding in the non-IDE dark-ages for far too long. See, for years I've been in search of a decent PHP IDE and for years have been disappointed. I've tried Eclipse (barf!), PHP Designer, PHPEdit and the list goes on and on... Nothing in the PHP world had ever came close to the elegance I've enjoyed in the .NET world with Visual Studio and Resharper.

Tools of the trade
Tools of the Trade

Coincidentally, just prior to the CSS wake-up call I'd been teaching myself Ruby on Rails and had been using the excellent RubyMine IDE created by the fine folks at JetBrains; the same company who brought Resharper into my .NET life. I was amazed at what Ruby on Rails had to offer out of the box. It was on par with most things I was already doing in .NET and was light years ahead of PHP. So I fell and fell hard. Not to mention that the RubyMine IDE allowed me to use a lot of the keyboard shortcuts and functionality that had already been infused in my brain with the use of Resharper at my 9 to 5 gig. So RubyMine made slinging Ruby code a breeze.

Had the AZPunk re-write come a year later it would have been done in RoR instead of PHP. But, at this point I had far too much time invested in the current 2.0 PHP code and too little time before the stork paid its' visit to rebuild it the Rails way . I realized I needed an IDE for PHP that was on par with RubyMine if I was to glean any enjoyment from this process.

I was pulled back into my PHP reality and I once again continued on my journey to find a decent IDE. I looked at the ones I'd previously mentioned again and a few new ones but none were appealing. They all just seemed foreign and not like anything I was used to. I didn't want to have to learn to use a new tool especially one that uses a different keyboard map for the same functions. Nothing is more frustrating when you're neck deep in code and the trusty CTRL-D or CTRL-/ don't work as expected. Instead you have to press CTRL-Q or some silly nonsense.

For whatever reason I'd paid a visit to the JetBrains site...probably to read the RubyMine forum or something. That's when I saw JUST RELEASED PhpStorm - IDE for HTML, JavaScript and PHP. Are you kidding me?! They had just released a new IDE for PHP THAT DAY and like RubyMine and Resharper it did the same, cool stuff I'd longed for in a PHP IDE like code completion, function lookup, super easy navigation, jQuery support, easier refactoring not to mention all the other super cool stuff. It even supported Smarty! the templating engine which I chose over the one built into the CodeIgniter MVC Framework that AZPunk is built on top of, but that's another story. So cool!

So, it had been written at that point. CSS was under my belt and I had my shiny new IDE. These new features just had to happen. The gods willed it...and so did Kelly (Thank you BTW!) So with a little help from a few jQuery libraries here and a few Google lookups there I put my nose to the keyboard and got to work.

And so I present to you the new changes...I hope you enjoy them. Just keep in mind that the site is still in "Beta" (READ: excuse for any bugs you encounter :-P)

Beers all around!

Comments

This is the feature I'm most proud of because I built it from the ground up from scratch. Puttin' those jQuery and CSS skills to work son!

At the end of each post you'll find a comment box that'll let you interact with us and members of the site. Just place your cursor in the white box and type away.

Your comment will show up at the top of the comment stream.

You can reply to someones previous comment by hovering over it then clicking the Reply link.

The black bars are "threads" of the comment stream. If you post a new comment from the top you create a new thread that appears at the top of the stream. If you reply to someones comment further down the stream your comment shows up at the bottom of that particular thread.

To keep it fair there are a few warnings you'll receive if you get over eager with the submit button. I'll let you test that our yourselves. Just keep the shit talking to a minimum and show a bit of respect to your fellow commenter.

Improved Calendar

Next up is the new and improved show calendar. The previous one wasn't very useful and made it was nearly impossible to find out what was going on beyond the current week. I can't take full credit for this one though. I got by with a little help from a few jQuery libraries but it did take a lot of jQuery/AJAX/CSS code, configuration and integration on my part with this one. The result makes it well worth the time I put into it.

For all you AZPunk 1.0 oldtimers this calendar works fairly similar to the old AZPunk calendar. It shows a snippet from the title of the show on each day. Be sure to use concise titles when posting shows and list the headlining band first.

Despite the title snippets you can hover over a particular title and get a more detailed view of the show you're interested in. You can also click directly on the title to be taken to the full show details where you can comment and do other cool stuff.

If you click on the day number as shown above the actual show listing on the page will refresh with that days shows.


The final feature to showcase is the ability to navigate the calendar with the buttons in the top header. You can use the forward and backward arrows to navigate to different months. You can also click the Week button to narrow in on what's happening that week as seen below. This is pretty handy if there are a lot of shows happening that month. To get back to month view just click the Month button.

Article RSS

Just a minor feature but still cool nonetheless is the new Articles RSS feed. If you're at work and want to risk blazing the red and yellow you can do all your AZPunk Article reading in your RSS reader of choice.

That's it for all the stuff you'll see. I did a lot behind the scenes work to clean up code that's been a mess since the launch and added some things to make administration a bit easier. I'm on a roll now so stay tuned for more things after my boy gets here and we both adjust to our new lives.

Comments

You must log in to add a comment
photo

jeremxTuesday, July 20, 2010 • 10:27 AM

bitchin'!
photo

RustyShacklefordSunday, July 11, 2010 • 11:20 AM

I've really taken visual studio for granted. Cheers!
photo

TPStankSaturday, July 10, 2010 • 10:50 PM

CSS not only pays my bills, but it also rules my face.
photo

RialSaturday, July 10, 2010 • 10:44 PM

wait what? I have no idea what I just read except a bunch of acronyms, and boo on finding out the sex of your soon to be born kid, but congrats anyway. Nothing about what I just read or typed was punk. just throwing that out there.
photo

udontknowmeSaturday, July 10, 2010 • 5:57 PM

YAY! I get my husband back ;) Looks cool, congrats!

Support AZPunk!


Weekly Shows

7
Krum Bums

6pm @ Chasers • All Ages • $??

with Krum Bums

7
Chris Clavin, Sara Cilantro

7pm @ See Details • All Ages • $5

with Chris Clavin (plan-it-x, Ghost Mice), Sara Cilantro (acoustic Stuff), Up The Puppets Presents "the Last Rabbit On Earth" (a Puppet Show!), And Probably A Local Act Or Two

9
Plan-It-X Night! AJJ, Imperial Can, Blunt Mechanic

7pm @ Trunk Space • All Ages • $7

with Imperial Can (chris Clavin/plenitx), Blunt Mechanic (benbarnett). Andrew Jackson Jihad, The Kris Special

10
D.R.I.

5pm @ U.B.'s Bar • 21+ • $16

with D.r.i., St. Madness, Hemoptysis, More...

10
Trash Humpers

8pm @ Madcap Theaters • All Ages • $8

with Trash Humpers

10
Rocky Horror Picture Show & REPO! The Genetic Opera

8pm @ Madcap Theaters • 18+ • $20

with Rocky Horror Picture Show & Repo! The Genetic Opera

11
ALL AGES PUNK SHOW

6pm @ Red Owl, The • All Ages • $8

with White Flag Down, Labor Party, Raina-fire, And More

11
WHITE FLAG DOWN, All Ages Show

6pm @ Red Owl, The • All Ages • $8

with White Flag Down, Awaken The Nightmare, Raina-fire, Lookoutlook, Nothing A.d.d All And No Other Option

11
Trash Humpers

8pm @ Madcap Theaters • All Ages • $8

with Trash Humpers

11
punk night

9pm @ IceHouse Tavern • 21+ • $??

with The Father Figures, Complainics, The Belfry Bats

User News

2 PUNK Bands Needed Sept. 11th

BurningBirdAZ • Monday, September 6, 2010 • 11:26 AM

photo

Burning Bird Productions is looking for 2 Punk Bands available for a last min show this Saturday (11th) at The Red Owl. This is an all ages show with White Flag Down, Look Out Look, Labor Party, Nothing ADD All and Dookie, If' you're interested email Deiter@BurningBirdMusic.com. Thanks, Deiter Burning Bird Productions

MOOVALYA reppin' AZ on the innerwebs!

Moovalya • Tuesday, August 31, 2010 • 10:20 AM

photo

Although not a big deal, I always think stuff like this is cool.

New band Head Injury needs people

douchehat • Thursday, August 26, 2010 • 12:22 PM

photo

New band Head Injury looking for bassist and second guitarist. We play old school skate punk, influences include JFA, middle class, agression and the meatmen. if intersted or have ?'s email badmanners86@hotmail.com

Automatic Self Destruct reviewd by New Times

ASDarmy • Friday, July 30, 2010 • 2:28 PM

photo

New Times reviews ASD in their "You Asked For It" colomn.

New Good Men Die Like Dogs 7"

nastyd • Wednesday, July 28, 2010 • 4:02 AM

photo

The brand new Good Men Die Like Dogs 4 song 7-inch "Postscript" is available for $5 on our website... or if you're one of those kids that hate plastic and grooves, download the mp3s for free. Not as cool, but whatever, dork.

Recently Added

Members

Myspace Stream