Introducing Sudz-C

17
Introducing Sudz-C Generating Objective-C Code for iPhone Development from SOAP-based web services

description

Sudz-C is a web site that generates proxy code from SOAP-based web services for iPhone development as well as Javascript and ActionScript.

Transcript of Introducing Sudz-C

Page 1: Introducing Sudz-C

Introducing Sudz-CGenerating Objective-C Code for iPhone

Development from SOAP-based web services

Page 2: Introducing Sudz-C

About Me

• Building scalable new media applications

• Big fan of open web standards

• Big fan of making things easier

• Big fan of service-based architecture

Page 3: Introducing Sudz-C

Architecture Diagram

Web Service Layer

Javascript Flex AMF Desktop 3rd Party

Data Class Layer

HTML Mobile

Web Layer

Page 4: Introducing Sudz-C

Mobile Revolution

• Next generation mobile devices

• iPhone, Google Android, Palm Pre

• Reality augmentation services

• Geolocation, personalization, omni*

• Always on, always available

Page 5: Introducing Sudz-C

The Challenge

• Take existing web site to a mobile platform

• Learn how to develop on the iPhone

• Leverage existing data assets

• Limitations of the iPhone SDK

Page 6: Introducing Sudz-C

The Solution

• Generate Objective-C source code from Web Service Definition Language (WSDL)

• Something like .NET or Flex

• Make it available in a simple code bundle

• Make it easy and repeatable

Page 7: Introducing Sudz-C
Page 8: Introducing Sudz-C
Page 9: Introducing Sudz-C
Page 10: Introducing Sudz-C
Page 11: Introducing Sudz-C

How To Use

• Copy folders into XCode

• Implement a UITableViewController- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView- (NSInteger)tableView:(UITableView*)tableView numberOfRowsInSection:(NSInteger)section- (UITableViewCell*)tableView:(UITableView*)tableView cellForRowAtIndexPath:(NSIndexPath*)indexPath- (void)tableView:(UITableView )tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath

• Implement the SoapDelegate methods- (void) onload: (NSObject*) result- (void) onerror: (NSError*) error- (void) onfault: (SoapFault*) fault

Page 12: Introducing Sudz-C
Page 13: Introducing Sudz-C

Demo

Page 14: Introducing Sudz-C

Coming Soon

• Better site design!

• Add Javascript generation for browsers

• Add ActionScript generation for Flash

• Upload a WSDL file as well as reference

• WSDL discovery and validation

Page 15: Introducing Sudz-C

Coming Soon

• Use SAX parser for better performance

• Multiple output methods in one bundle

• Ready to implement code templates

• IDE integration

• Fix bugs

Page 16: Introducing Sudz-C

More Information

• In private beta at http://sudzc.com

• Talk to me afterwards about access

• Follow us on Twitter @sudzc

• My email [email protected]

Page 17: Introducing Sudz-C

Thank You