• No results found

Studie har många aspekter att undersöka i framtid. En av dessa aspekter är att kolla ifall cachning kan påverka responstid. Lösenord i detta experiment använder hashing vid sparning av data, det skulle vara bra att kolla ifall hashing kan också påverka responstid. I tidigare experimentet från Kathas och Lancors (2013), har de testad formulärhantering, formulärvalidering och sessionshantering, på grund av tidsram att hålla sig inom kunde inte undersöka dessa funktionaliteter under experiment ifall kommer påverkas av model mapping (ORM). Webbapplikationer i detta experimentet stöd för olika webbservrar, det skulle vara också bra om man ska undersöka ifall webbserver kan påverka responstid hos webbapplikationer. Det jag vill göra i framtiden är att installera båda webbapplikationer i en separat server där kommer fler än en klient som skickar förfrågan till server och undersöka ifall detta kan också påverka responstid.

Det hade varit väldigt intressant att undersöka säkerhet hos båda webbapplikationer med/utan model mapping (ORM) ifall aktivering eller Inaktivering model mapping (ORM) kan påverka säkerhet och prestanda, genom att använda alla säkerhetsverktyg som SQL- injektion och Cross site scripting.

Referenser

Abramova, V. & Bernardino, J. (2013) NoSQL Databases: MongoDB vs Cassandra. Proceedings of the International C* Conference on Computer Science and Software Engineering. C3S2E’13. New York, NY, USA, ACM. s. 14–22.

Ali Raza, F. Madiha, M. 2014 “Perfomance Evalution of PHP Frameworks (CakePHP

and CodeIgniter) in relation to the Object-Relational-Mapping, with respect to Load testing) Ahsanul, B. & Anupom, S. (2008). CakePHP Application Development: Packt Publishing Ltd Alor-Hernández, G., Cuadrado, J.L.L., Rodríguez-González, A., Rodríguez-Mazahua, L., Salas-Zárate, M.d.P. & Valencia-García. R. (2015). Analyzing best practices on Web development frameworks: The lift approach. I Science of Computer Programming. Volym 102, ss.1–19. DOI: https://doi.org/10.101/j.scico.2014.12.004.

Biermann, M. (2014). A simple versatile solution for collecting multidimensional clinical data based on the CakePHP web application framework. Computer Methods and Programs in Biomedicine, 114 (1), ss.70–79.

British Columbia Institute of Technology. Why CodeIgniter? Tillgänglig på Internet: https://codeigniter.com/user_guide/installation/index.html].

Cai J-Y., Nerurkar A. & Wu M-Y. (1998). Making benchmarks uncheatable. Computer Performance and Dependability Symposium, 1998. IPDS ’98. Proceedings. IEEE International. Druham, USA 9 september 1998, ss. 216 - 226. 10.1109/IPDS.1998.707724 Cake Software Foundation (2020). Quick Start Guide. Tillgänglig på Internet: https://book.cakephp.org/4/en/quickstart.html [Hämtad 2020-03-03].

“Cakephp Cookbook. Debug kit,” [Online]. Available:

https://book.cakephp.org/debugkit/4/en/index.html .[Accessed 15 Mrs 2020].

Codeigniter Software Foundation (2020). Quick Start Guide. Tillgänglig på Internet: https://www.codeigniter.com/user_guide/intro/index.html [Hämtad 2020-03-03].

“Codeigniter. Benchmarking class,” [Online]. Available:

https://www.codeigniter.com/user_guide/intro/index.html.[Accessed 01 May 2020]. “Codeigniter. Benchmarking class,” [Online]. Available:

https://www.codeigniter.com/user_guide/testing/benchmark.html?highlight=benchmarkin g.[Accessed 01 May 2020].

Chowdhury, S. (2017). What is phpMyAdmin? Quora [blogg]. https://www.quora.com/What-is-phpMyAdmin [2020-03-07].

composer. (2018). Introduction. Gcomposer [blogg]. https://dbwebb.se/kunskap/installera- composer, hämtad [2020-03-07].

Das R., Saikia L. P. (2016). Comparison of Procedural PHP with Codeigniter and Laravel Framework. International Journal of Current Trend in Engineering & Research, vol. 2, no.6, pp. 42-48.

Denscombe, M. (2014). The Good Research Guide: For Small-scale Research Projects. 5. upp., Maidenhead, Berkshire: McGraw-Hill Education

DiCesare, C. & Hoxmeier, J.A. (2000). System Response Time and User Satisfaction: An Experimental Study of Browser-based Applications. I AMCIS 2000 Proceedings.

Dominik, L & contributors, R. (2019). Data Mapper. https://designpatternsphp.readthedocs.io/en/latest/Structural/DataMapper/README.html , hämtad [2020-05-021].

Eliahou Orr, Yehuda Zadik (2013). Programming with CodeIgniterMVC.

Fernandes, J., Oliveira, P., Silva, C. & Marcelino, L. (2012). Route Social Network. Procedia Technology, 5, ss.547–555.

Foster, R. (2013). CodeIgniter 2 Cookbook. Birmingham: Packt Publishing Ltd

Foster, R. (2015). CodeIgniter Web Application Blueprints. Birmingham: Packt Publishing Ltd.

Ghosh, P., Rau-Chaplin, A., (2006). Performance of Dynamic Web Page Generation for Database-driven Web Sites, in: International Conference on Next Generation Web Services Practices, 2006. NWeSP 2006. Presented at the International Conference on Next Generation Web Services Practices, 2006. NWeSP 2006, pp. 56–63. M. Fowler, ”Patterns of Enterprise Application Architecture”, Addison-Wesley Professional, 2002.

Ireland, C., Bowers, D., Newton, M., Waugh, K., 2009. A Classification of Object-Relational Impedance Mismatch, in: First International Conference on Advances in Databases,

Knowledge, and Data Applications, 2009. DBKDA’09. Presented at the First International Conference on Advances in Databases, Knowledge, and Data Applications, 2009.

DBKDA ’09, pp. 36–43.

Ishaq, J. & Hamed, H. (2016). Comparison of performance between Raw SQL and Eloquent ORM in Laravel

James Mickens, Silo: exploiting JavaScript and DOM storage for faster page loads, Proceedings of the 2010 USENIX conference on Web application development, p.9–9, June 23–24, 2010, Boston, MA.

Katha, S. & Lancor, L. (2013). Analyzing PHP Frameworks for Use in a Project-Based Software Engineering Course. I SIGCSE '13, Proceeding of the 44th ACM technical symposium on Computer science education. Denver, Colorado, USA 6–9 mars 2013, ss.519– 524. DOI: 10,1145/2 445 196 2 445 350.

Majida, L. Khaoula, B. Samira, K. Mohamed. K. (2019). A Comparative study of PHP frameworks performance. Volym 32, ss.864–871.

Natalya, P. & Victoria, B. (2017). Analysis and Practical Application of PHP Frameworks in Development of Web Information Systems. Volym 104, ss.51–56.

Orr, E. & Zadik, Y. (2013). Programming with CodeIgniter MVC. Birmingham: Packt Publishing Ltd.

Oates, J. B. (2006). Researching Information Systems and Computing. London: SAGE Pulications Inc.

Prokofyeva, N. & Boltunova, V. (2017). Analysis and Practical Application of PHP Frameworks in Development of Web Information Systems. I Procedia Computer Science. Volym 104, ss.51–56. Sciencedirect:

Peter, B., Kai, M., Günter, S. Handbook on Architectures of Information Systems: Springer Science & Business Media, 18 apr. 2006 - 896 sidor.

Luke Welling & Laura Thomson. 2003. PHP and MySQL Web Development.

Roopak, K.E., Rao, K.S.S., Ritesh, S., Chickerur, S., 2013. Performance Comparison of Relational Database with Object Database (DB4o), in: 2013 5th International Conference on Computational Intelligence and Communication Networks (CICN). Presented at the 2013 5th International Conference on Computational Intelligence and Communication Networks (CICN), pp. 512–515.

Salas-Zárate, M.P., Alor-Hernández, G., Valencia-García. R., Rodríguez-Mazahua, L., Rodríguez-González, A., & López Cuadrado, J.L. (2015). Analyzing best practices on Web development frameworks: The lift approach. Science of Computer Programming, 102, ss.1– 19.

Sandi. (2017). What is XAMPP and how to use it? Quora [blogg], 3 april. https://www.quora.com/What-is-XAMPP-and-how-to-use-it [2018-04-12].

Ushawu Ibrahim, J. B. Hayfron-Acquah. Frimpong, T. (2018). comparative analysis of Codeigniter and laravel in relation to object-relation mapping, load testing and stress testing. Volume 05 Issue 02.

Wohlin, C., Runeson, P., Höst, M., Ohlsson, M.C., Regnell, B. & Wesslén, A (2012) Experiment in Software Engineering. Berlin Heidelberg: Springer. ISBN 978-3-642- 29043- 5.

Wegrzynowicz, P. (2013) Performance antipatterns of one to many association in hibernate. IEEE International. Krako¿w, Poland 11 september 2013.

Appendix A - user.php

<?php namespace App\Model\Entity; use Cake\ORM\Entity; use Cake\Auth\DefaultPasswordHasher; /** * User Entity *

* @property int $id * @property string $name * @property string $email * @property string $password

* @property \Cake\I18n\FrozenTime $created * @property \Cake\I18n\FrozenTime $modified *

* @property \App\Model\Entity\Post[] $posts */

class User extends Entity {

/**

* Fields that can be mass assigned using newEntity() or patchEntity(). *

* Note that when '*' is set to true, this allows all unspecified fields to * be mass assigned. For security purposes, it is advised to set '*' to false * (or remove it), and explicitly make individual fields accessible as needed. * * @var array */ protected $_accessible = [ 'name' => true, 'email' => true, 'password' => true,

'created' => true, 'modified' => true, 'posts' => true, ];

/**

* Fields that are excluded from JSON versions of the entity. * * @var array */ protected $_hidden = [ 'password', ];

// function _setPassword för att skydda lösen ord protected function _setPassword($password){

return (new DefaultPasswordHasher)->hash($password); }

Related documents