Quantcast Coding | The Danosphere.

The Danosphere.

Avatar

class TheDanosphere extends Dan implements Blog

Draw Dashed Lines in Flex / AS3

Here is a recent code snippet I wrote to draw dashed lines in Actionscript (I am using it in Flex). Very cool. I’m displaying it using the new “Snipt Embed” functionality from Snipt.org, pretty neat!

asdf
asp
fds
';document.write(content);
[code snippet: http://snipt.org/Jkl]

Snipt.org – Share code snippets and large text via twitter!

Snipt.org is a nifty little tool for developers / everyone. It’s like twitpic but for code and long text. Punch in some code or a long paragraph, select the language type (“text” for long text), and then snip it! Snipt will give you a short URL to share your content with people via twitter.

Here’s my little snipt for you: http://snipt.org/63

Best PHP Editor – Zend Studio

I’ve always written PHP code in programs like TextMate or Dreamweaver [code view] but recently after having a very good experience with an advanced Flash editor, I decided to look around for a PHP editor which offered similar benefits.

Zend Studio is great because it's offered in many formats- as a standalone or as a plug-in for the ever-popular Eclipse platform (which I'm slowly warming up to). There are probably a load of features that make Zend an awesome editor, but I'll just outline the points that make it appealing to me:

  • OOP PHP support - The editor treats object like objects!
  • Class Outline - Easily navigate large classes and find variables and functions in a snap.
  • Code Hinting - I'm all for old school coding but when it comes to reality production speed is key, and with Zend it has real-time code hinting so it not only helps out with native php classes, but also hints on any custom classes you've built within your project.
  • Real-time Compiling - discover syntax errors as you code instead of having to upload and run the code on a server every time
  • Eclipse plugin - now i can edit Actionscript and PHP in the same editor!

|

What's Here?