Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb. 09, 2010, 01:40:16 AM
52582 Posts in 11676 Topics by 7483 Members
Latest Member: RomPhi915
News: PRADO 3.1.6 is released!
 
The PRADO Community » Prado v3.x » Component Repository » The portlet system « previous next »
Pages: [1] Print
Author Topic: The portlet system  (Read 8640 times)
schmunk
PRADO Supporter
Platinum Member
*

Karma: 17
Offline Offline

Posts: 505


Google Ron Paul


View Profile WWW
« on: May. 31, 2007, 12:06:39 PM »

Hi all,

this is the place for discussion about a universal portlet system for PRADO. I've been inspired by the user rojaro at the IPC, when we talked about phundament & PradoPortal.

We had some thoughts about creating portlets, widgets, components for both projects. We'll first have to define a clear directory structure, installation process and database layer. Everyone is encouraged to participate in this discussion.

I've set up a wiki page for "Portlets", which is very rough at the moment.
http://www.pradosoft.com/wiki/index.php/Portlet

We could get a huge boost for Prado, with an easy to use component repository.
I've been asked explicit about the Prado Component Repository at my session at IPC, and a friend of mine also assumed that TYPO's success came mainly from it's component repository.

Best regards,
schmunk
Logged

lithron & phundament - components for PRADO 3
http://sourceforge.net/projects/lithron
http://www.phundament.com
tof06
PRADO v3.x Developer
Platinum Member
*****

Karma: 83
Offline Offline

Posts: 1026



View Profile
« Reply #1 on: May. 31, 2007, 01:53:13 PM »

Hi schmunk,

I'm VERY interested in a complete portlet system, so I will try to help here if I can.
About installation process, it would be extra if it could be done with a new option of prado-cli.php (like pear install, but for you own project Smiley ).

I completly agree with you about the component repository.
There is an old open ticket (#79) about this. But it's a big job to do ! Smiley

I'll keep an eye on this thread Wink

Cheers,
Tof.
Logged
aztech
Platinum Member
****

Karma: 34
Offline Offline

Posts: 694



View Profile WWW
« Reply #2 on: May. 31, 2007, 03:10:51 PM »

I see in Wiki that propel folder was created. Will be portlet solution propel based?
Logged

schmunk
PRADO Supporter
Platinum Member
*

Karma: 17
Offline Offline

Posts: 505


Google Ron Paul


View Profile WWW
« Reply #3 on: May. 31, 2007, 04:29:29 PM »

No, slow. That was just an idea, the forum is the place for discussions about this.

I personally would like to see PDO-PRADO-Database stuff and propel available for portlets, at least for creating databases and inserting data.

But first I think we should skip that part with databases, etc ... and define the basic structure of a portlet.
We've just talked about one hour about TYPO3's extension system Cry awwww
Logged

lithron & phundament - components for PRADO 3
http://sourceforge.net/projects/lithron
http://www.phundament.com
schmunk
PRADO Supporter
Platinum Member
*

Karma: 17
Offline Offline

Posts: 505


Google Ron Paul


View Profile WWW
« Reply #4 on: May. 31, 2007, 09:24:26 PM »

More thoughts ...

* I would like to start with downloading a PRADO "Portlet Edition".
* This would contain two pages (Home, Admin) and one component (TPortletAdmin), in addition to the framework itself.
* When I open index.php in my browser the Home.page shows up, with a login screen.
* After login I am at Admin.page, which contains TPortletAdmin.
* With TPortletAdmin I am able to scan the "Portlet Repository" and can manage portlets.

... so far, so good.

* Now I've scanned the repository and download for example the portlet XCssNaviagtion.
* A tar.gz package will be downloaded and extracted into a portlets directory.
* The newly created folder XCssNavigation will be added to namespaces in application.xml or a seperate file.
* Also there should show up a link, where I can access the admin options of the portlet. They could be stored in application.xml or application global-state for example.

Now, I should be able to use XCssNavigation in my templates.
That should be the basics. Did I forgot an important thing, or can we strip this even more?

When I take a look at my project phundament, I have a portlet called LContainer, which handles dynamic placement of components in the frontend, in my case called Cells & Bricks. In Symfony there are slots, I think, which do a similar thing.
That's a very important part, because I wanted highly dynamic layouts for content in the frontend. Together with the ability to create controls without coding.

So if there would be a system for dynamic content creation in the frontend, we could have a "Portlet edition" where you could build up your own application, just by clicking in your web browser Grin without editing a single line of code.

I think that PRADO users should have no problem with editing source code, but I would like to create a system, which is, as PRADO itself, made "out of itself", like in PRADO everything is extended from TComponent.
Logged

lithron & phundament - components for PRADO 3
http://sourceforge.net/projects/lithron
http://www.phundament.com
tof06
PRADO v3.x Developer
Platinum Member
*****

Karma: 83
Offline Offline

Posts: 1026



View Profile
« Reply #5 on: Jun. 01, 2007, 09:18:41 AM »

Sounds great.

So, if I understand all of this, there would be a special edition of Prado, which allow us to browse and download portlets, and every downloaded portlet would go in the framework directory directly...
Portlets would be global to all applications (if, like me, you are using a shared prado directory for all application) ?
I'm fine with this Smiley
But we could also add TPortletAdmin when we create skeleton of new app (in prado-cli.php). Then, browse the newly created app, and go to the portlet admin page (with or without login, because it's a new app, and therefore, there won't be users information yet).
By the way, the very first thing to do is, I think, define basic stucture of portlet and build the portlet (or component?) repository. I will try to make a relational schema of the database for a such repository. As soon as I got something, I will put it on the wiki.

Quote
So if there would be a system for dynamic content creation in the frontend, we could have a "Portlet edition" where you could build up your own application, just by clicking in your web browser Grin without editing a single line of code.

Whaou!!!! Grin
A Prado WYSIWYG editor... What a wonderful project Smiley


Logged
Gilloux
Senior Member
***

Karma: 0
Offline Offline

Posts: 73



View Profile WWW
« Reply #6 on: Jun. 01, 2007, 11:01:55 AM »

why make a Prado wysywig if a lot of others are already existing... ??
Logged

"Shit happens"
Knut
PRADO v3.x Developer
Senior Member
*****

Karma: 11
Offline Offline

Posts: 315



View Profile WWW
« Reply #7 on: Jun. 19, 2007, 07:39:48 PM »

Look at JSR-168 and JSR-286. Here's an introduction: http://developers.sun.com/portalserver/reference/techart/jsr168/
Logged

schmunk
PRADO Supporter
Platinum Member
*

Karma: 17
Offline Offline

Posts: 505


Google Ron Paul


View Profile WWW
« Reply #8 on: Jun. 20, 2007, 12:14:36 PM »

@knut: Thanks a lot for the specs, I'll definately check them out.

@Gilloux: The goal is not to create a PRADO-WYSIWYG, but a highly consistent Portlet-Repository-System.

Best regards,
schmunk
Logged

lithron & phundament - components for PRADO 3
http://sourceforge.net/projects/lithron
http://www.phundament.com
schmunk
PRADO Supporter
Platinum Member
*

Karma: 17
Offline Offline

Posts: 505


Google Ron Paul


View Profile WWW
« Reply #9 on: Jun. 20, 2007, 12:43:11 PM »

The 1.0 specs ... looks nice.
I'll have a detailed look at them, I think that's the way to go.
Logged

lithron & phundament - components for PRADO 3
http://sourceforge.net/projects/lithron
http://www.phundament.com
rojaro
Global Moderator
Platinum Member
****

Karma: 36
Offline Offline

Posts: 620


PRADO aint no voodoo ...


View Profile WWW
« Reply #10 on: Jun. 20, 2007, 02:04:19 PM »

I'll have a detailed look at them, I think that's the way to go.
Me too ...
Logged

A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)
DaMule
Senior Member
***

Karma: 11
Offline Offline

Posts: 245


Sam Hennessy


View Profile WWW
« Reply #11 on: Jun. 21, 2007, 03:24:36 PM »

I'm going to read that document then get back to you with my ideas.
Logged

Guizmo
Senior Member
***

Karma: 0
Offline Offline

Posts: 98



View Profile
« Reply #12 on: Jul. 02, 2007, 08:08:08 PM »

What a pity eyeos http://eyeos.org is under the GPL Licence
My second php webos desktop like behaviour goes to Klorofil http://www.klorofil.org. It is using CPL licencing,maybe a more appropriate licence.

If the goal is to rely on portal specs, maybe an influence from the major free opensource java projects would be useful :
ExoPortal   http://www.exoplatform.com/company/faces/public/site
Liferay       http://www.liferay.com/web/guest/products/portal
uPortal      http://uportal.org/

I personaly like Exo which follows the kind of behaviour we have with eyeos and Klorofil.
A little article from Ajaxian about Exo http://ajaxian.com/archives/exo-platform-goes-from-portal-to-enterprise-webos
I don't remember for Exo but Liferay supports PHP, i think that's enough to be discussed Smiley
This is mentionned here http://www.liferay.com/web/guest/devzone/features_and_road_map where we see they have PHP portlets samples...ah they also mention webos layout, hum i'll check this...

Whatever you're interested in about Portal and the direction you will choose, a thing that is not often talked about but essential is SSO.
Logged

Alexandre Emeriau
ytannus
Junior Member
**

Karma: 2
Offline Offline

Posts: 37



View Profile WWW
« Reply #13 on: Mar. 04, 2008, 05:05:41 AM »

Check this:

http://www.pradoportal.dk

We had done 4 successful projects with prado, 3 of them private report/intranet projects, and the other is a Business/ERP platform.
« Last Edit: Mar. 04, 2008, 05:07:42 AM by ytannus » Logged

--
Yery
ytannus
Junior Member
**

Karma: 2
Offline Offline

Posts: 37



View Profile WWW
« Reply #14 on: Mar. 04, 2008, 04:34:21 PM »

Note that the pradoportal's author is rabol, I´m just a happy user Smiley
Logged

--
Yery
Pages: [1] Print 
« previous next »
Jump to: