SlideShare une entreprise Scribd logo
1  sur  16
eZ App Factory
                  mobile apps
                made fast and easy


Igor Vrdoljak
www.netgen.hr
Who


Igor Vrdoljak
@ivrdoljak
igor@netgen.hr



Netgen
@netgentweets
http://www.netgen.hr
What

•   eZ App Factory
    •   Mobile application builder solution
    •   Quick
    •   Easy
    •   Multiplatform (iOS and Android)
    •   Connected to your eZ Publish CMS
Why?

•   Mobile is the current big huge thing
    •      M iOS devices sold – June 2012
    •      M Android devices activated – June 2012
    •     % Facebook users mobile only
•   The best mobile strategy?
    •   It depends 
The big picture
Class mappings
Class mappings

[ClassMapping_article]
title[title]=default
summary[intro]=default
body[body]=default
images[image]=default
audio[intro_song]=default
videos[youtube_video_code]=youtube
Categories
Extension point - Virtual categories
Extension point – Virtual categories


interface eZAppFactoryCategoryHandlerInterface
{
  static public function getCategoryPosts(
          array $params, $offset, $limit, $term = '' );
  static public function getCategoryPostsCount(
          array $params, $term = '' );
  static public function getHandlerName();
}
Extension point - Custom attribute
handlers
Extension point - Custom attribute
 handlers

[ClassMapping_article]
title[title]=default
summary[intro]=default
body[body]=myspecialsummaryhandler
images[image]=myrelatedimageshandler
audio[intro_song]=default
videos[youtube_video_code]=youtube
Extension point - Custom attribute
  handlers



interface eZAppFactoryAttributeHandlerInterface
{
  static public function getData(
          eZContentObjectTreeNode $node,
          eZContentObjectAttribute $att= null );
VIDEO
Finally...

•   Not an universal solution
•   Good for
    •   Content oriented sites and applications
    •   Fast build, simple administration
    •   Multiplatform
    •   Evolving solution
•   Not good for 
    •   Application – like installations
    •   Very complex mobile apps
QA?

•   Any time left?




igor@netgen.hr
@ivrdoljak

Contenu connexe

Similaire à eZ App Factory - mobile apps made fast and easy

Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.WO Community
 
Android Workshop 2013
Android Workshop 2013Android Workshop 2013
Android Workshop 2013Junda Ong
 
Wordpress beyond blogging
Wordpress beyond bloggingWordpress beyond blogging
Wordpress beyond bloggingJulien Minguely
 
Red Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
Red Hat JBoss BRMS and BPMS Workbench and Rich Client TechnologyRed Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
Red Hat JBoss BRMS and BPMS Workbench and Rich Client TechnologyMark Proctor
 
[Devoxx Morocco 2015] Apache Cordova In Action
[Devoxx Morocco 2015] Apache Cordova In Action[Devoxx Morocco 2015] Apache Cordova In Action
[Devoxx Morocco 2015] Apache Cordova In ActionHazem Saleh
 
From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)Bramus Van Damme
 
Mobile Apps with PhoneGap and jQuery Mobile
Mobile Apps with PhoneGap and jQuery MobileMobile Apps with PhoneGap and jQuery Mobile
Mobile Apps with PhoneGap and jQuery MobileTerry Ryan
 
ReactJS vs AngularJS - Head to Head comparison
ReactJS vs AngularJS - Head to Head comparisonReactJS vs AngularJS - Head to Head comparison
ReactJS vs AngularJS - Head to Head comparison500Tech
 
Developing an object detector solution with Azure Custom Vision .NET SDK
Developing an object detector solution with Azure Custom Vision .NET SDKDeveloping an object detector solution with Azure Custom Vision .NET SDK
Developing an object detector solution with Azure Custom Vision .NET SDKLuis Beltran
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesMark Roden
 
2009 Dotnet Information Day: More effective c#
2009 Dotnet Information Day: More effective c#2009 Dotnet Information Day: More effective c#
2009 Dotnet Information Day: More effective c#Daniel Fisher
 
Modeveast Appcelerator Presentation
Modeveast Appcelerator PresentationModeveast Appcelerator Presentation
Modeveast Appcelerator PresentationAaron Saunders
 
Ad103 - Have it Your Way: Extending IBM Lotus Domino Designer
Ad103 - Have it Your Way: Extending IBM Lotus Domino DesignerAd103 - Have it Your Way: Extending IBM Lotus Domino Designer
Ad103 - Have it Your Way: Extending IBM Lotus Domino Designerddrschiw
 
WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...WordPress Trivandrum
 
Top Tips for Android UIs - Getting the Magic on Tablets
Top Tips for Android UIs - Getting the Magic on TabletsTop Tips for Android UIs - Getting the Magic on Tablets
Top Tips for Android UIs - Getting the Magic on TabletsMotorola Mobility - MOTODEV
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQueryAlek Davis
 
Startup Institute NYC: Styling
Startup Institute NYC: StylingStartup Institute NYC: Styling
Startup Institute NYC: StylingMatthew Gerrior
 
Android Jump Start
Android Jump StartAndroid Jump Start
Android Jump StartHaim Michael
 

Similaire à eZ App Factory - mobile apps made fast and easy (20)

Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
 
Android Workshop 2013
Android Workshop 2013Android Workshop 2013
Android Workshop 2013
 
Wordpress beyond blogging
Wordpress beyond bloggingWordpress beyond blogging
Wordpress beyond blogging
 
Red Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
Red Hat JBoss BRMS and BPMS Workbench and Rich Client TechnologyRed Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
Red Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
 
[Devoxx Morocco 2015] Apache Cordova In Action
[Devoxx Morocco 2015] Apache Cordova In Action[Devoxx Morocco 2015] Apache Cordova In Action
[Devoxx Morocco 2015] Apache Cordova In Action
 
From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)
 
Mobile Apps with PhoneGap and jQuery Mobile
Mobile Apps with PhoneGap and jQuery MobileMobile Apps with PhoneGap and jQuery Mobile
Mobile Apps with PhoneGap and jQuery Mobile
 
Intro to appcelerator
Intro to appceleratorIntro to appcelerator
Intro to appcelerator
 
ReactJS vs AngularJS - Head to Head comparison
ReactJS vs AngularJS - Head to Head comparisonReactJS vs AngularJS - Head to Head comparison
ReactJS vs AngularJS - Head to Head comparison
 
Developing an object detector solution with Azure Custom Vision .NET SDK
Developing an object detector solution with Azure Custom Vision .NET SDKDeveloping an object detector solution with Azure Custom Vision .NET SDK
Developing an object detector solution with Azure Custom Vision .NET SDK
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPages
 
2009 Dotnet Information Day: More effective c#
2009 Dotnet Information Day: More effective c#2009 Dotnet Information Day: More effective c#
2009 Dotnet Information Day: More effective c#
 
Modeveast Appcelerator Presentation
Modeveast Appcelerator PresentationModeveast Appcelerator Presentation
Modeveast Appcelerator Presentation
 
Ad103 - Have it Your Way: Extending IBM Lotus Domino Designer
Ad103 - Have it Your Way: Extending IBM Lotus Domino DesignerAd103 - Have it Your Way: Extending IBM Lotus Domino Designer
Ad103 - Have it Your Way: Extending IBM Lotus Domino Designer
 
WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...
 
Top Tips for Android UIs - Getting the Magic on Tablets
Top Tips for Android UIs - Getting the Magic on TabletsTop Tips for Android UIs - Getting the Magic on Tablets
Top Tips for Android UIs - Getting the Magic on Tablets
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQuery
 
Startup Institute NYC: Styling
Startup Institute NYC: StylingStartup Institute NYC: Styling
Startup Institute NYC: Styling
 
Android Jump Start
Android Jump StartAndroid Jump Start
Android Jump Start
 
seminar ppt
seminar pptseminar ppt
seminar ppt
 

eZ App Factory - mobile apps made fast and easy

Notes de l'éditeur

  1. Netgen – working on eZ Publish projectssince 2004,eZ Publish silver partner
  2. A way of tapping into eZ Publish content model.Mapping eZ Publish content class attributes into fields defined by App Factory APIThis is specific to each installation and needs to be set-up via configuration files. Examples are provided with the extension.
  3. Configuration file exampleEach line is a mapping of eZ Publish class attribute to App Factory API field.
  4. Previous slides represent too simplified solution for most eZ Publish instalations. There is almost allways some site-specific logic, that is usually contained in eZ Publish templates or operators. To enable eZ Publish developers to use such specific logic we provide 2 extension points: Virtual categories and Custom attribute handlersVirtual categories enable developers to use PHP for fetching the data that is outputted to mobile apps, implementing whatever logic is needed. In administration interface we can choose which category handler to use, and define the parameters that can be used in PHP code.
  5. The developer needs to implement a class that adheres to a simple interface with 3 PHP functions. getCategoryPostsfetches the datagetCategoryPostsCountfetches the count of items available in virtual category. Used for paging.getHandlerNameoutputs the name of the category handler
  6. Custom attribute handlers enable the developers to use more complex logic when presenting the content item in mobile app. For example, image could be fetched from related object in eZ Publish, some attributes could be merged before sending to the app, etc.
  7. Configuration file exampleEach line is a mapping of eZ Publish class attribute to App Factory API field. In this case body and images fields use custom attribute handlers.
  8. The developer needs to implement a PHP class that implements a simple interface.
  9. Video!