Transcript of "How to build a Portofino application"
How to build an application with the Portofino web framework Giampiero Granatella email@example.com
Portofino in a glancecreation of a web application starting from existing databasespowerful, multi-level CRUD pagesCMS features (menu, wysiwyg html editor, portlet)page customization using Groovy, which allows on-the-fly changesnative support for incremental management of the database schemausing Liquibaseuse of well-known and well-tested technologies such as Hibernate,Stripes, EhCache, Quartz, etc.native permission handling with Apache Shiro and user managementthat can be easily integrated with any SQL, LDAP/Active Directory,OpenID, ...and much more!
Who is using Portofino1,001 Downloads in 2013 (as of 28/2/2013) from84 countries around the worldUsed in Public Administration: Regione Emilia Romagna, Regione Liguria, Datasiel, Prefettura di Savona IIT, Università degli studi di Genova Companies: Selex-Elsag, QSA, Celeweb, NIS, Nacon, Softeco, Iso Sistemi
How to start a projectDownload it!http://sourceforge.net/projects/portofinounziplaunch tomcatuse your browser (http://localhost:8080) and a texteditor to write your apps...or use an IDE (NetBeans, Eclipse, IntelliJ) to write ordebug apps
DataBase Driven applicationsDo you have an existing DB? use the wizard and let Portofino create pages for youAre you building your DB from scratch? use liquibase for DB versioning ...or use your favorite DB client and sync Portofino with the DB
Authorization and PermissionsWe use Apache Shiro to manage authorizations andpermissions,customize you authorization policy in thesecurity.groovy file (authorize a user, associate him toa group),set the access level for each page to groups,set what operations a user can do,the rules you set for a page can be applied to all thepages underneath.
Notes on customizationsEach page has an associated groovy script,Portofino gives some hooks (e.g. to customizevalidation, to redirect to different pages, ...) Write your code in app/groovy and you can useit in all your actions
CommunityAsk questions and join the discussion: http://groups.google.com/group/manydesigns- portofinoRegional groups: http://groups.google.com/group/manydesigns- portofino-italian