Feed on
Posts
Comments

Archive for January, 2008

bit about Flex

Ø  IIntroduction
1>   Flex Framework
·          Drag manger
·          Event manager
·          Layout manger
·          Focus manager
·          Cursor manager
 
2>   Action script
3>   Mxml
4>   Css
5>   Swc
 
Ø  Flex – swf
 
Ø  Container
 
Ø  Component
 
Ø  Display layout
 
Ø  Mx:Application  layout
·          Absolute
·          Horizontal
·          Vertical
 
Ø  Application start by
·          Pure action script
·          Mxml and action script
 
Data Binding - Data binding is the process of tying the data in [...]

Read Full Post »

RoR Upload image in S3

Install gem aws s3
gem install aws-s3
Before you can do anything, you must establish a connection using Base.establish_connection!. A basic connection would look something like this:
AWS::S3::Base.establish_connection!(:access_key_id => ‘abc’,
:secret_access_key => ‘123′
)
Buckets are containers for objects (the files you store on S3). To create a new bucket you just specify its name.
AWS::S3::Bucket.create(’bucket_name’ ;) Picture upload view
<% [...]

Read Full Post »