0
How to build an application with the Portofino web framework                        Giampiero Granatella                  ...
Portofino in a glancecreation of a web application starting from existing databasespowerful, multi-level CRUD pagesCMS fea...
Who is using Portofino1,001 Downloads in 2013 (as of 28/2/2013) from84 countries around the worldUsed in Public Administra...
Architecture
How to start a projectDownload it!http://sourceforge.net/projects/portofinounziplaunch tomcatuse your browser (http://loca...
DataBase Driven          applicationsDo you have an existing DB? use the wizard and let Portofino create pages for youAre ...
Create PagesWe’ll develop a Blog http://www.manydesigns.com/en/blog/how-to-create-a-blog-1Your app is under /apps/default ...
Authorization and         PermissionsWe use Apache Shiro to manage authorizations andpermissions,customize you authorizati...
Notes on         customizationsEach page has an associated groovy script,Portofino gives some hooks (e.g. to customizevali...
CommunityAsk questions and join the discussion: http://groups.google.com/group/manydesigns- portofinoRegional groups: http...
Questions ?
Upcoming SlideShare
Loading in...5
×

How to build a Portofino application

1,037

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,037
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
17
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "How to build a Portofino application"

  1. 1. How to build an application with the Portofino web framework Giampiero Granatella giampiero.granatella@manydesigns.com
  2. 2. 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!
  3. 3. 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
  4. 4. Architecture
  5. 5. 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
  6. 6. 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
  7. 7. Create PagesWe’ll develop a Blog http://www.manydesigns.com/en/blog/how-to-create-a-blog-1Your app is under /apps/default (or your appname) blobs - your blobs dbs - liquibase files groovy - script available to all your actions pages - all your pages organized as you designed web - custom html, jsp, css, img, javascript
  8. 8. 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.
  9. 9. 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
  10. 10. CommunityAsk questions and join the discussion: http://groups.google.com/group/manydesigns- portofinoRegional groups: http://groups.google.com/group/manydesigns- portofino-italian
  11. 11. Questions ?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×