Ted Patrick > { Events & Community } > Adobe Systems


Sneak peek of PowerSDK PRIM

I have been busy working on PRIM, a new product from PowerSDK Software. Thanks to the contributions of the PRIM Beta team, we very close to a 1.0 release. I wanted to introduce you to PRIM and provide a discount for pre-release licenses.&

What is PRIM?

PRIM is a new primitives library for Flash. PRIM provides 50 new primitive types for use with Actionscript, compatible with Flash Player 6 or higher. The new types manage data by value through get and set operations in unique ways. It is best to think of PRIM as a library of pre-defined getter/setters with unique behavior.

Here is an example using Prim's Integer Type:

//create a prim integer
createPrim ( Prim.INTEGER , "myInt" , 34)
trace ( myInt ) //34

//set the value
myInt = 22.34243234
trace ( myInt ) //22

//prevent set operation
myInt = "Hello World"
trace ( myInt ) //22

A key to PRIM is understanding that all functionality happens at runtime not at compile-time like AS2 strict typing. In providing new behavior, PRIM types eliminate redundant data management code from your software and generally make development more exact. The above example provides an integer that can only be an integer at runtime. If you attempt to set it to a value that is not an integer, it will convert the value to an Integer or resist the modification.

PRIM also provides a more strict version of integer that can only be set by passing a valid integer as follows:

//create a prim integer
createPrim ( Prim.INTEGER | Prim.STRICT , "myInt", 34)
trace ( myInt ) //34

//prevent set due to non-integer value
myInt = 22.34243234
trace ( myInt ) //34

//set the value
myInt = 99
trace ( myInt ) //99

PRIM supports a powerful event model to allow you to subscribe to value changes on PRIM types. The events allow you to see exactly what has occurred externally to the property.

PRIM is licensed per developer annually providing all updates and email support for one calendar year from license date. When the development team adds new types to the release, these will be available to all current licensed users without cost. In licensing PRIM, you will also get access to pre-release builds, development list-serv, and will be able to influence the development of new PRIM types.

PRIM is priced at $50 per developer annually. Currently you can license PRIM at a pre-release discount of 30% or $35.00. Pre-release licensees will receive access to the PRIM beta prior to the public release.

If you have questions or comments about PRIM, please feel free to email me at mailto:ted@powersdk.com .

cheers,

Ted ;)

0 Responses to “ Sneak peek of PowerSDK PRIM ”

Post a Comment



Jobs


Flex Jobs
city, state, zip


© 2008 Ted On Flash