Title: Flex for the Enterprise
1Flex for the Enterprise
Mark Piller Midnight Coders, LLC
2Flex Architecture
3Flex Remoting
Web Service
Flex Client
HTTP Service
Remote Object (Java, .NET, Ruby, PHP)
Flex Server (FDS or WebORB)
- Web Services
- HTTP Services
- Remote Objects
4 Demo
5Data Management
- Data synchronization
- Conflict resolution
- Disconnected mode support
6 Demo
7Messaging
- Interactivity
- Immediate notification
- Low stress on the server
- Support for pub/sub
8Demo
9Messaging Code
- Declare ltproducergt and ltconsumergt
- Publish message with producer
- Receive message with consumer
ltmxProducer id"producer" destination"chat"/gt ltm
xConsumer id"consumer"
destination"chat"
messagemsgHandler(event)"/gt
var messageAsyncMessage new AsyncMessage() mes
sage.body messageText hello world
producer.send( message )
public function msgHandler(eventMessageEvent)voi
d var messageTextObject event.message.body.me
ssageText
10Flex Advantages
- Rich development environment
- Single runtime environment
- Optimized client/server integration
- Disconnected mode support
- Data management infrastructure
- Built-in support for real-time messaging
11Enterprise Software Requirements
- Reliability
- Scalability
- Low total cost of ownership (TCO)
- User Experience
- Feature expansion
12Flex Remoting Enterprise Gradesheet
Flex Client
Flex Client
Flex Client
Web Service
- Reliability - (as reliable as WS)
- Scalability - (as scalable as WS infrastructure)
- TCO - low to average
- User Experience average
- Feature expansion - limited
13Flex Remoting Enterprise Gradesheet (cont.)
Flex Client
Flex Client
Flex Client
HTTPService
- Reliability - (as reliable as HTTP service)
- Scalability - (as scalable as HTTP service
infrastructure) - TCO - low to average
- User Experience average
- Feature expansion - limited
14Flex Remoting Enterprise Gradesheet (cont.)
Flex Client
Flex Client
Flex Client
Flex Server(FDS or WebORB)
RemoteObject
- Reliability - high
- Scalability - high
- TCO - low to average
- User Experience average
- Feature expansion - excellent
15Flex Data Management Enterprise Gradesheet
Flex Client
Flex Client
Flex Client
Flex Server(FDS or WebORB)
Data Source
- Reliability - high
- Scalability - high
- TCO - varies
- User Experience above average
- Feature expansion - excellent
16Flex Messaging Enterprise Gradesheet
Flex Client
Flex Client
Message BusJMS or MSMQ
Flex Server(FDS or WebORB)
Flex Server(FDS or WebORB)
- Reliability - high
- Scalability - high
- TCO - varies
- User Experience superb
- Feature expansion - excellent
17Any questions?