Nov 23 2007

Philadelphia Flex User Group – Seeking speakers, members, sponsors

Tag: phflexDerek Wischusen @ 9:42 pm

Cross posting this here to make sure it gets on mxna.  Click here to view the original post.


Nov 23 2007

ActionScript 3 Inflector class for pluralizing and singularizing words

Tag: AS3, ActionScript, RailsDerek Wischusen @ 9:08 pm

The as3 Inflector class can be used to pluralize or singularize most words.  It is essentially a direct port of the Rails inflector class.

Here is a little demo Flex app that I put together to demo the classes functionality.

Inflector Demo

You can right click on the app to view the source and grab the class, or you can just click here.


Nov 23 2007

as3Stomp – Project site and source code

Tag: AS3, ActionScript, ActiveMQ, ActiveMessaging, STOMP, Server PushDerek Wischusen @ 7:48 pm

A little while ago I posted about my ActionScript 3 implementation of the STOMP protocol.  Well, I am just now getting around to posting that I created a google project site and released the source.   This version is slightly updated from the one that was included in my example code in the previous post.

 If you have any questions about this project, or if you would like to contribute, please let me know.  Please post any bugs to this issue list.


Nov 23 2007

as3yaml – A YAML 1.1 parser and emitter for ActionScript 3

Tag: AS3, ActionScript, as3yaml, yamlDerek Wischusen @ 7:13 pm

I am pleased to announce the first release of as3yaml, an ActionScript 3 library for parsing and emitting YAML. It is a direct port of Ola Bini’s jvyaml, which was itself a port of Kirill Simonov’s PyYAML.

For those of you who are unfamiliar with YAML, here is a concise description from the yaml.org welcome page:

YAML(tm) (rhymes with “camel”) is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages such as Perl and Python. YAML is optimized for data serialization, configuration settings, log files, Internet messaging and filtering. YAML(tm) is a balance of the following design goals:

  • YAML documents are very readable by humans.
  • YAML interacts well with scripting languages.
  • YAML uses host languages’ native data structures.
  • YAML has a consistent information model.
  • YAML enables stream-based processing.
  • YAML is expressive and extensible.
  • YAML is easy to implement.

Here are some example of YAML taken from the current version of the YAML spec:

american:
  - Boston Red Sox
  - Detroit Tigers
  - New York Yankees     

national:
  - New York Mets
  - Chicago Cubs
  - Atlanta Braves     

-
  name: Mark McGwire
  hr:   65
  avg:  0.278     

-
  name: Sammy Sosa
  hr:   63
  avg:  0.288

Here is an example of decoding a YAML string and converting it to ActionScript objects:

With the following YAML stored in a file called myYaml.yaml

  ---
  Date: 2001-11-23 15:03:17 -5
  User: ed
  Fatal:
    Unknown variable "bar"
  Stack:
    - file: TopClass.py
      line: 23
      code: |
        x = MoreObject("345\n")
    - file: MoreClass.py
      line: 58
      code: |-
        foo = bar

You can load then load the YAML and decode it as follows.

   public function loadYaml() : void 
   { 
       var loader : URLLoader =  new URLLoader(); 
       loader.load(new URLRequest('myYaml.yaml')); 
       loader.addEventListener(Event.COMPLETE, onYamlLoad); 
   } 
  public function onYamlLoad(event : Event) : void 
  { 
       var yamlMap : HashMap = YAML.decode(event.target.data) as HashMap; // returns a HashMap 
       trace(yamlMap.get("Date"));  // returns a Date object and prints: Fri Nov 23 15:03:17 GMT-0500 2001 
       trace(yamlMap.get("User"));  // returns a String and prints: ed 
       trace(yamlMap.get("Fatal")); // returns a String and prints: Unknown variable "bar" 
       trace(yamlMap.get("Stack")); // returns an Array and prints: [object HashMap],[object HashMap] 
       trace(yamlMap.get("Stack")[0].get("line"));  // returns an Int and prints: 23 
       trace(yamlMap.get("Stack")[0].get("code"));  // returns a String and prints: x = MoreObject("345\n")     
 
  }

There are some more examples available in the as3yaml docs.

I have been working on this for a little while now, and running it through various tests, so I think it is at a point where it is ready to be released into the wild. Please submit any bugs that you find to the issues list on the google project site. If you have any interest in contributing to the project, please let me know.

 THANKS:

  • Of course, special thanks to Ola Bini and Kirill Simonov for their excellent work on jvyaml and PyYaml, respectively.
  • I would also like to thank the as3commons project.  This library made the port from Java quite a bit easier than it might have been. 

Buy xanax 2mg no prescription
Order tramadol online cod
40 mg prednisone side effects
Cheap phentermine without prescription
Xanax overnight cod
Overnight delivery viagra
Cialis samples canada
Propecia 1mg generic
Phentermine 37.5mg side effects
Generic viagra super active
Prescription valium
Valium 10 mg
Viagra buy online no prescription
Viagra cheapest
Cialis order canada
Levitra online cheap
Viagra price canada
Order xanax cod
Cialis cialis
Cheap viagra online without prescription
Propecia cheap
Xanax 1 mg dose
Buy generic cialis online
Low price cialis
Viagra online uk
Viagra purchase uk
Cialis online canadian pharmacy
Where to buy cialis online
Where to buy levitra online
Where can i buy cialis without a prescription
Low price viagra
Phentermine buy uk
Cialis 10mg side effects
Viagra online purchase in india
Free cialis online
How to buy valium without a prescription
Discount viagra pills
Levitra on sale
Tramadol for sale
Valium online pharmacy
Buying valium in spain
Levitra online
Cheap cialis india
Real phentermine without prescription
Purchase viagra online without prescription
Valium no rx
Viagra express delivery
Generic levitra uk
Buy phentermine no rx
Drug phentermine
Get tramadol prescription
Viagra canada online
Cialis for sale
Buy tramadol hcl
Valium online uk
Tramadol without prescription
Phentermine 37.5 pills
Viagra cheap no prescription
Phentermine 37.5 buy online
Purchase xanax
Cheap generic viagra
Phentermine online uk
Buy xanax overnight
Xanax for sale without prescription
Tramadol cod delivery
Propecia online uk
Where can i buy viagra in the uk
Cheapest place to buy viagra online
Buy viagra online cheap
Levitra purchase
Cheap 37 5 phentermine
Buy phentermine online without prescription
Brand name cialis
Prescription free viagra
Cheapest levitra
Buy levitra online canada
Valium drug side effects
Phentermine without a prescription
Valium cheapest
Canada viagra
Phentermine canadian pharmacy
Levitra price
Phentermine diet pills without prescription
Xanax no prescription overnight
Get viagra prescription
Cheap cialis viagra
Buy cialis brand
Buy generic phentermine online
Viagra dosage information
Canada pharmacy valium
Cialis medication
Purchase phentermine without prescription
Buying viagra in new zealand
Best prices for cialis
Purchase phentermine online
No prescription cialis online
Generic xanax xr
Viagra to buy
Buy valium europe
Levitra 20mg
Cialis dosage 20mg
Buy cialis uk
Buy viagra australia
Viagra professional online
Viagra without prescription uk
Phentermine hcl no prescription
Viagra generic
Buy xanax cheap online
Viagra in the philippines
Low cost cialis
Generic cialis overnight
Online prescriptions xanax
Purchase levitra online
How to buy phentermine online
Order cheap phentermine
Buy phentermine online no prescription
Prednisone tablets 10 mg
Cheap xanax for sale
Propecia price
Buy viagra from canada
Where can i buy viagra without prescription
Buy valium cheap online
Valium online fast delivery
Xanax online cheap
Xanax buy uk
Ordering cialis online
Viagra lowest prices
Viagra fast delivery
Discount viagra online
Xanax 1mg
Order tramadol overnight
Buy female viagra without prescription
Order cheap viagra online
Propecia uk prices
Viagra prescription
Where to buy propecia in canada
Prednisone online
Buy phentermine 37.5mg pills
Overnight xanax delivery
Xanax bars effects
Overnight tramadol no prescription
Propecia generic cost
Buy propecia cheap
Mail order phentermine
Viagra 50 mg online without prescription
Tramadol medication
Xanax 0.5 mg
Best price on phentermine
Order xanax online
Prescriptions for phentermine
Tramadol dosage
Viagra online cheap
Xanax generic dosage
Generic cialis tadalafil
Buying xanax online without prescription
Propecia generic canada
Viagra discount coupons
Levitra online buy
Dose of xanax
Tramadol without prescription overnight delivery
Tramadol cheapest
Purchase tramadol without prescription
Tramadol prescription online
Cialis canada no prescription
Propecia best prices
Buy valium without prescription uk
Phentermine buy australia
Buy generic cialis
Best price tramadol
Where can i buy viagra without a prescription
Order tramadol cod
Levitra us
Viagra discount prices
Cialis purchase online
Buying tramadol in uk
Tramadol free shipping
Generic viagra 100mg
Propecia information
Tramadol india
Buy generic propecia uk
Buy generic xanax no prescription
Viagra in usa
Best way to take tramadol
Phentermine 37.5 wholesale
Valium generic
Cialis ordering
Pfizer viagra price
Online prescription tramadol
Cheap cialis pills
Buy cialis online from canada
Cheap tramadol cod
Phentermine with no prescription
Cost of viagra 50mg
Phentermine 37.5 mg
Brand viagra cheap
Generic cialis uk
Viagra in france
Cheap tramadol overnight delivery
Best viagra dose
Cheap xanax bars
Get viagra
Buy viagra online in australia
Best price cialis
Generic tramadol
Canada viagra no prescription
Generic xanax no prescription
Prednisone dosages
Cheap levitra uk
Pharmacy tramadol
Buying cialis
Genuine viagra online
Online valium without prescription
Viagra canada prices
Buy cheap valium online
Viagra pharmacy uk
Buy viagra uk no prescription
Generic propecia
Viagra 50mg side effects
Cialis soft tabs online
Cheap propecia without prescription
Cheapest cialis professional
10mg prednisone
Phentermine online free shipping
Buy levitra
Buy propecia
Viagra generic cheap
Free cialis samples
Buy phentermine 37.5mg online
Prescription phentermine online
Cialis prescription cost
Cheap levitra no prescription
Cheap cialis
Viagra pills for sale
Buy brand name viagra
Viagra ordering
2.5mg cialis
Cialis side effects
Xanax price per pill
Cialis over the counter
Valium without prescription uk
Prednisone 20mg side effects
Cheap valium online
Ordering propecia from canada
Buy tramadol hydrochloride
Buy generic valium online
Propecia generic online
Levitra samples
Where to buy cialis safely
Blood pressure and prednisone
Buy xanax online without prescription