Getting started with the Facebook SDK and ActionScript 3
Group items matching
in title, tags, annotations or url
6More
Getting started with the Facebook SDK and ActionScript 3 | Adobe Developer Connection - 0 views
-
invoke the Facebook API to login as well as to get details about the user, friends, photos, and other information
- ...3 more annotations...
-
FB.init – initialize Facebook API FB.login - login to Facebook FB.api - perform a Graph API call on Facebook
5More
shared by kuni katsuya on 06 Jun 12
- No Cached
GraniteDS - deserialize ActionScript object to a Java Map object - Ross Henderson - 0 views
blog.rosshenderson.info/...pt-object-to-a-java-map-object
graniteds deserialization serialization actionscript

- ...2 more annotations...
-
Granite claims to implement the same serialization/deserialization matrix as BlazeDS (with two small exceptions).
facebook-actionscript-api - Adobe actionscript 3 SDK for Facebook Platform - Google Pro... - 0 views
22More
BlazeDS Developer Guide - 0 views
- ...19 more annotations...
-
java.util.Map If a Map interface is specified, creates a new java.util.HashMap for java.util.Map and a new java.util.TreeMap for java.util.SortedMap.
-
BlazeDS passes an instance of java.util.ArrayList to parameters typed with the java.util.List interface and any other interface that extends java.util.Collection. Then these types are
-
If you require normal ActionScript Arrays sent back to the client, you must set the legacy-collection element to true in the serialization section of a channel-definition's properties; for more information, see Configuring AMF serialization on a channel.
-
legacy-map Default value is false. When true, java.util.Map instances are serialized as an ECMA Array or associative array instead of an anonymous Object.
-
A typical reason to use custom serialization is to avoid passing all of the properties of either the client-side or server-side representation of an object across the network tier.
-
standard serialization scheme, all public properties are passed back and forth between the client and the server.
-
Private properties, constants, static properties, and read-only properties, and so on, are not serialized
6More
ActionScript, NetBeans and FlexBean (PROTIP included) « Greymatter.pl - 0 views
- ...3 more annotations...
-
right/command click an .as file in the project pane and select ‘Open As..’, then select text/javascript MIME type
2More
shared by kuni katsuya on 26 Oct 12
- No Cached
flex - GraniteDS can't convert from actionscript class to java bean...how to solve this... - 0 views
stackoverflow.com/...to-java-bean-how-to-solve-this
java flex graniteds remoting deserialization ActionScript

9More
Chapter 12. ActionScript 3 Reflection API - 0 views
- ...5 more annotations...
-
XML data
-
describing its parameter object and is therefore not type-safe and its use is subject to many syntax errors.
-
GraniteDS provides a Java-like reflection API that encapsulates describeType calls and offers a type-safe, object-oriented, set of reflection classes and methods
16More
Chapter 5. AS3 Code Generator - 0 views
-
Gas3 uses the principle of "Base" and customizable inherited classes that let you add methods to generated classes without facing the risk of losing them when a new generation process is executed
- ...13 more annotations...
-
these templates are bundled in the granite-generator.jar archive, in the org.granite.generator.template package and accessible as resources via the class loader
-
Alternatively, you may use the file: protocol to load your template from the filesystem. These templates can be specified either by using absolute paths (eg. file:/absolute/path/to/mytemplate.gsp) or paths relative to your current Eclipse project root directory (eg. path/to/mytemplate.gsp).
-
must declare your classes in separated source files if you want them to be correctly handled by the generator
11More
Interview of GraniteDS founders | RIAgora - 0 views
- ...8 more annotations...
-
validation framework is a specific adaptation of the JSR-303 (Bean Validation) specification to Flex: like its Java counterpart, it relies on validation annotations placed on bean properties and provides an engine API that lets you validate your forms without writing by hand a specific validator for each of your input fields
-
code generation tools provided by GraniteDS so that when you write your Java entity bean with validation annotations, they are automatically replicated in your ActionScript3 beans
-
problem with LCDS is mainly that it promotes a strict “client / server” architecture, with – roughly speaking – a heavy Flex client application connected to a server almost reduced to a database frontend
-
big majority of these organizations use BlazeDS, a free and open-source subset of LCDS
-
need more advanced mechanisms than just Remoting start looking for open-source libraries to enable deeper integrations with the Java business layer, and GraniteDS is for sure the most popular project
6More
In Relation To... Bean Validation for Flex developers - 0 views
-
GraniteDS have added support for Bean Validation into their project and hence Bean Validation is usable by all Flex users
-
Because they do not run on the JVM, they basically have reimplemented the full specification in Flex: you can annotate your ActionScript3 objects with constraints: it supports all the standard constraints and you can write your own constraints you can execute the validation logic and retrieve the error report you can make use of most of the feature including advanced ones like groups, group sequence etc
- ...3 more annotations...
-
for GraniteDS users keeping their Java domain model and ActionScript3 domain model in sync via Gas3, the constraints are kept in sync
-
the constraint implementation is in the same class as the constraint declaration (not a problem in a dynamic language) @Pattern has a sightly different semantic because the regexp engine in Flex is a bit different. instead of the features provided by ConstraintValidatorContext, you can define a properties attribute in your constraints to make it belong to several sub-properties. not as flexible but good enough in many cases.
actionscript3id.vim - vim syntax highlight identifiers of actionscript 3 : vim online - 0 views
6More
8. Type Conversions (Java ~ ActionScript3) - Confluence - 0 views
-
GDS will neither convert AS3 String to Java numeric types or boolean, nor AS3 numeric types or boolean to String
- ...3 more annotations...
47More
shared by kuni katsuya on 13 Sep 12
- No Cached
5. Exception Handling - Confluence - 0 views
www.graniteds.org/...5.+Exception+Handling
graniteds ExceptionHandling javaee6 Flex ActionScript actionscript3

- ...41 more annotations...
-
possible to define common handlers for particular fault codes on the client-side, and exception converters on the server-side, to convert server exceptions to common fault codes
-
t.getMessage(), detail, t
-
* instead of *wrapping* the server-side exception and rethrowing it to the client, ** extract only details relevant to the client (eg. include: human-friendly error message and any helpful parametrized data, exclude: stack traces), ** "wrap" it in a generic ServiceException, which gets "thrown" remotely to the client * client can check ServiceException.getCode() to implement behavior tailored to server-side exception 'type'
-
-
ENTITY_NOT_FOUND
-
all EntityNotFound exceptions on the server-side, and convert it to a proper ENTITY_NOT_FOUND fault event.
-
<exception-converters> <exception-converter type="com.package.SomeExceptionConverter"/> </exception-converters>
-
IExceptionHandler
3More
10. MXML & AS3 Web Compiler - Confluence - 0 views
-
GraniteDS comes with a powerful MXML/ActionScript3 compiler you may deploy in your servlet container. This servlet will compile your MXML code on the fly each time you have modified it and return a SWF
-
-
only exists under the 2.2.0GA files listing: http://sourceforge.net/projects/granite/files/granite/granite-2.2.0%20GA/
-
Automated UI Tester For ActionScript / Home / Home - 0 views
30More
3. Gas3 Code Generator - Confluence - 0 views
- ...26 more annotations...
-
except of enum type
-
must declare your classes in separated source files if you want them to be correctly handled by the generator
-
GraniteDS comes with an ActionScript3 code generator that writes AS3 beans for all externalized JavaBeans, with specific support for lazily loaded EJB 3 entities
6More
shared by kuni katsuya on 16 Mar 13
- No Cached
GraniteDS: Gas3 template for complex enums | Javalobby - 0 views
java.dzone.com/...graniteds-gas3-template
GraniteDS3 gas3 ComplexEnums Flex ActionScript3 AS3 CodeGeneration
