Incremental compilation in Flex.

June 4, 2008

I collected some information in Incremental Compilation and iam giving it here.

Incremental compilation means that the compiler inspects your code, determines which parts of the application are affected by your changes, and only recompiles the newer classes and assets (section of bytecode). These sections of bytecode are also referred to as compilation units.

Incremental compilation can help reduce compile time on small applications, but you achieve the biggest gains on larger applications. The default value of the incremental compiler option is true for the Flex Builder application compiler. For the mxmlc command-line compiler, the default is false.

You enable incremental compilation by setting the incremental option to true, as the following example shows: mxmlc -incremental=true MyApp.mxml

As part of the incremental compilation process, the compiler generates
a cache file that lists the compilation units of your application and information on your
application’s structure. This file is located in the same directory as the file that you are
compiling. For example, if my application is called Example.mxml, the cache file is called Example_n.cache, where n represents a checksum generated by the compiler based on compiler configuration. This file helps the compiler determine which parts of your application must be recompiled. One way to force a complete recompile is to delete the cache file from the
directory.

Hope you got the importance of it !.Enjoy the Post.


Download Class Diagram and FrameWork Diagram of Flex.[ At my Blog ]

February 11, 2008

To get a clear picture of the FLEX and its API you have to look at its Class Daigram and Framework Diagram Frequently.usually we dont find time but i suggest to frequent visit to these two pdf’s makes our brains healthy on FLEX and we become RICH in those areas.With these RIA.

This is the Class diagram of Flex, various Classes with its methods and Attributes are given init.

Flex-Class diagram

This is the FramWork Diagram of Flex.you can find diffent methods of Classes inti.

Flex-FrameWork Diagram.

Let us become “rich in minds” with these RIA’s FLEX.


Description of Basic elements of a Flex application.

January 29, 2008

Flex framework

The Adobe® Flex 2 framework contains all the components you need to
build rich Internet applications, which include:
-Containers that you use to layout the application
-Controls you use to gather data from users and to manage the user interface (Text and Button, for example)
-Extensive data binding, formatting, and validation features
-An event-driven development model that provides rich user interface transformation features such as effects and transitions
-The Flex framework is contained within a shared component library (SWC) file.

MXML

Every Flex application contains at least one MXML file,
known as the main application file. MXML is a markup language,
an implementation of XML that was designed specifically for creating Flex
applications, and you use it to declaratively define the structure of your
application using tags.

ActionScript 3.0

You add dynamic behavior to your applications using ActionScript 3.0,
which is an implementation of ECMAScript and is similar to JavaScript.
You can add ActionScript to Flex applications directly in the MXML file as
script blocks or you can create separate files of ActionScript functions and
import them into your MXML files.

CSS

Style attributes in visual components (buttons, list boxes, and so on) are
controlled by component properties. For example, a button component has a
fontFamily property that you use to set the font. Style properties are controlled
by a theme, by styles defined in a CSS file, by styles defined in style blocks in an
MXML file, or by setting individual style properties in the component instance itself.

Graphic assets

Like most applications, Flex applications contain a variety of graphic assets such as
icons and other images.

Data

Some components are used to display data (a combo box or data grid for example)
and you can populate these components with data by using arrays, collection objects,
data models, external XML data sources, and so on.


Good PHP tutorials at my blog.

January 25, 2008

Even though the help file at php has many good examples and explanations ,some of the users still search the web for php tutorials ,so for them i give the tutorials which were prepared by me and my team members ,and these are really good ones, its brief and quick.

Basics/Musics of PHP..

“fun”ctions and “class”es in PHP

strings Part1 PHP

strings Part2 PHP

URL functions PHP

click the above links to navigate and download..


Writing secure Flex applications.

January 24, 2008

The below ppt shows the things to do.. follow them for secure flex app.

flex-security.ppt [click this to view]

  • ¬MXML tags with security restrictions
  • ¬Disabling viewSourceURL
  • ¬Remove sensitive information from SWF files
  • ¬Input validation
  • ¬ActionScript
  • ¬Using passwords.

These were the topics covered in this ppt [tutorials]very use full.