Download adopting web framework in web-application development
Transcript
LIST OF FIGURES FIGURE 1: Example code in PHP .......................................................................... 8 FIGURE 2: Technical knowledge needed (Bergeret, 2010) .................................. 11 FIGURE 3: MVC model in SmallTalk80 (Krasner & Pope, 1988) ...................... 12 FIGURE 4: Define database link in Zend Framework .......................................... 12 FIGURE 5: Controller_The application logic ....................................................... 13 FIGURE 6: View_The application presenter ........................................................ 13 FIGURE 7: MySQL database table ....................................................................... 13 FIGURE 8: Model's methods used in application controller ................................. 14 FIGURE 9: MySQL table's structure..................................................................... 15 FIGURE 10: Diagram for decision making (Synodinos, 2007) ............................ 17 FIGURE 11: Job Trends for Zend, CakePHP and Yii (Job trends, 2012) ............. 21 FIGURE 12: PHP frameworks performance in comparison (Framework performance comparison) ...................................................................................... 23 FIGURE 13: Result for "Which framework is the most promising?" ................... 24 FIGURE 14: Typical Flow in PHP Programs (Golding, 2008) ............................. 26 FIGURE 15: Data Flow in CodeIgniter Programs (CodeIgniter User Guide, 2012) ............................................................................................................................... 26 FIGURE 16: Database connection in PHP without framework ............................ 30 FIGURE 17: Data input in PHP without framework ............................................. 30 FIGURE 18: CSRF hash implementation in Zend ................................................ 31 FIGURE 19: Form controller in Zend ................................................................... 32 FIGURE 20: CSRF has implementation without framework ................................ 32 FIGURE 21: Form validation without framework ................................................ 32 FIGURE 22: Internationalization and localization are orthogonal to the application layers (Sachdev, 2007)........................................................................................... 33