Original title:
Přístup k databázím v PHP frameworcích Zend a Nette
Translated title:
Access to databases in the PHP framework Zend and Nette
Authors:
Moravec, Petr ; Pavlíček, Luboš (advisor) ; Burkoň, Lukáš (referee) Document type: Bachelor's theses
Year:
2009
Language:
cze Publisher:
Vysoká škola ekonomická v Praze Abstract:
[cze][eng] Hlavním přínosem této práce je velice podrobná dokumentace PHP frameworků a rovněž detailní pohled na databázovou vrstvu, jako jsou především vrstvy ve frameworku zend a frameworku nette. Oba frameworky budou popsány nezávisle na sobě. Tato práce se věnuje návrhovým vzorů od Martina Fowlera. Tyto vzory budou podobněji vysvětleny a demonstrovány na praktických příkladech v jednotlivých frameworkcích. Jedná se o vzory Table Data Gateway, Row Data Gateway, Active Record a Data Mapper. Poslední část této práce bude věnována samotnému přístupu k databázi ve vybraných frameworkcích. Budou popsány základní knihovny a demonstrovány praktické ukázky. Na úplný závěr budou uvedeny empirické testy, které pomohou analyzovat slabé a silné stránky jednotlivé databázové vrstvy.The main asset of the essay is a very detailed documentation of PHP frameworks and more detailed view on database layer. The essay pays attention to a database layer in Zend and Nette Frameworks. Both Frameworks are described separately. The essay also analyses Data Source Architectural Patterns of Martin Fowler. These patterns are explained in details and shown in practical examples in each separate Frameworks. They are mainly patterns of Table Data Gateway, Row Data Gateway , Active Record and Data Mapper. The last part of the essay is focused on an access to a Database in selected Frameworks, describes the main libraries and demostrates practical examples. Finally there are presented empirical tests which can help to analyse advantages and disadvantages of each Database layer.
Keywords:
Database; Dibi; Framework; Nette; PHP; Zend; Databáze; Dibi; Framework; Nette; PHP; Zend
Institution: University of Economics, Prague
(web)
Document availability information: Available in the digital repository of the University of Economics, Prague. Original record: http://www.vse.cz/vskp/eid/14712