library partlets
Base package for the partlet hmvc system
p2ee/partlets
Base package for the partlet hmvc system
- Monday, September 11, 2017
- by woodworker
- Repository
- 3 Watchers
- 13 Stars
- 54 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 3 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Partlets
Partlets are self contained building block for web applications.
These components help you to develop your application in a faster and more encapsulated way then
the "old" single controller/template per page pattern., (*1)
MVC Like
Partlets could be used in a MVC approach when you have one Partlet per page.
You can define all you requirements you need to display the content of a page., (*2)
HMVC Like
The strength of partlets are the "Preparable" base, so that they can define requirements.
A requirement can be another partlet, so that you can build a single page out of different
self contained and reusable blocks., (*3)
Page Structure with partlets
+----------------------------------------------------------------+
| Toplevel Page Partlet |
|----------------------------------------------------------------|
| |
| +--------------+ +------------------------------------------+ |
| |Menu Partlet | |List Partlet | |
| |--------------| |------------------------------------------| |
| | | | +--------------------------------------+ | |
| | | | |ListItem Partlet | | |
| | | | |--------------------------------------| | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | +--------------------------------------+ | |
| | | | | |
| | | | +--------------------------------------+ | |
| | | | |ListItem Partlet | | |
| | | | |--------------------------------------| | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | +--------------------------------------+ | |
| +--------------+ +------------------------------------------+ |
| |
+----------------------------------------------------------------+
Resources
- https://speakerdeck.com/bastianhofmann/marrying-front-with-backend
- http://www.youtube.com/watch?v=fqULJBBEVQE
- http://www.infoq.com/presentations/Evolution-of-Code-Design-at-Facebook
dev-master
9999999-dev
Base package for the partlet hmvc system
Sources
Download
MIT
The Requires
The Development Requires
v0.0.2
0.0.2.0
Base package for the partlet hmvc system
Sources
Download
MIT
The Requires
The Development Requires
0.0.1
0.0.1.0
Base package for the partlet hmvc system
Sources
Download
MIT
The Requires
The Development Requires