Estructura De La Tesis

Total Page:16

File Type:pdf, Size:1020Kb

Estructura De La Tesis Universidad Andrés Bello Facultad de Ingeniería Magister Ingeniería Informática Análisis de las plataformas de redes sociales actuales para obtener patrones arquitectónicos comunes y rescatar las mejores prácticas. Autor: Juan José González Faúndez Santiago de Chile, 2011. Profesor Guía: Miroslav Plavlovic Directores: Daniel Campos Domínguez Dedicatoria A mi familia, mi madre, mi hermano y a mi sobrina Cony. A todos los que no están físicamente conmigo hoy, pero que estén donde estén, esto también es para ustedes. i Agradecimientos A Dios (YHWH) Todopoderoso A mi Madre A mi sobrina que la quiero mucho, ahora voy a poder dedicarle más tiempo A mis compañeros del Magister Al señor Miroslav Pavlovic profesor guía, gracias por su apoyo y ayuda A los profesores de la UNAB, gracias por la formación entregada. Al señor Daniel Campos Domínguez, Director del Magister, por su paciencia y esmero en tratar de mejorar el programa. ii Tabla de Contenido Página Dedicatoria .....................................................................................................................i Tabla de Contenido ...................................................................................................... iii Capítulo 1. Introducción .............................................................................................. 1 Introducción .............................................................................................................. 1 Estructura de la Tesis .............................................................................................. 3 Objetivos .................................................................................................................. 4 Objetivo General .................................................................................................. 4 Objetivos Específicos ........................................................................................... 4 Importancia ............................................................................................................... 5 Problemas ............................................................................................................ 5 Preguntas de Investigación...................................................................................... 6 Hipótesis ................................................................................................................... 6 Esbozo de la investigación ...................................................................................... 7 Capítulo 2. Marco Teórico .......................................................................................... 8 Redes Sociales ........................................................................................................ 8 Introducción .......................................................................................................... 8 Historia de las redes sociales ............................................................................ 10 Tipos de redes sociales ..................................................................................... 14 Introducción a las redes sociales de investigación ........................................... 16 Arquitectura de Software ....................................................................................... 22 Introducción ........................................................................................................ 22 ¿Por qué es importante la Arquitectura de Software? ...................................... 24 Estilos Arquitectónicos ....................................................................................... 25 Arquetipos de Aplicación ................................................................................... 30 Patrones Arquitectónicos ................................................................................... 32 Patrones de Diseño............................................................................................ 35 Ingeniería de Requerimientos ............................................................................ 45 Calidad del software........................................................................................... 51 Capítulo 3. Modelo propuesto .................................................................................. 75 iii Introducción ............................................................................................................ 75 Análisis arquitectónico de las plataformas de redes sociales ............................... 77 Identificar redes sociales ................................................................................... 78 Requerimientos y características de las plataformas de redes sociales en investigación....................................................................................................... 81 Definir atributos de calidad sobre las redes sociales de investigación ........... 130 Aplicación del modelo FURPS+ ...................................................................... 137 Arquitectura común para las plataformas de redes sociales de Investigación .......................................................................................................................... 141 Conclusiones ........................................................................................................ 201 Líneas futuras de investigación ........................................................................... 203 Anexos.................................................................................................................. 204 Bibliografía ............................................................................................................... 208 iv Índice de Ilustraciones Figura 1, Crecimiento de las redes sociales entre diciembre de 2007 y diciembre de 2008. Fuente: Nielsen Online ................................................................................................................................... 10 Figura 2, Mapa de las redes sociales más exitosas por paises. Fuente: Many Eyes. .......................... 11 Figura 3, Porcentaje de usuarios de Internet que usan los sitios de redes sociales, agrupados por edad. Fuente: Flowton. .................................................................................................................... 13 Figura 4, Mapa conceptual sobre los tipos de Servicios de Redes Sociales, fuente: http://jjdeharo.blogspot.com/2010/07/servicios-de-redes-sociales-i.html ........................................ 15 Figura 5, Pirámide del desarrollo de Software, Fuente: Ingeniería del software, quinta edición, Roger Pressman [34]. .................................................................................................................................. 23 Figura 6, Vistas Arquitecturales, puntos de vista y patrones, Fuente: [18] ......................................... 28 Figura 7, Pirámide de los patrones de diseño, Fuente propia. ........................................................... 36 Figura 8, Familia de Patrones GRASP, fuente propia. ........................................................................ 38 Figura 9, Asociaciones de una Venta, fuente: [39]............................................................................. 39 Figura 10, Crear un pago, Patrón Bajo Acoplamiento, fuente: [39] ................................................... 40 Figura 11, Venta crea el Pago. Patrón Alta Cohesión, fuente: [39] .................................................... 42 Figura 12, Ejemplo del Patrón Controlador, fuente: [39] ................................................................... 43 Figura 13, Ciclo de vida de la ingeniería de requerimientos, fuente: Magister Unab.......................... 47 Figura 14, Utilización del estándar ISO 9126, fuente: [93] ................................................................. 53 Figura 15, Partes del estándar ISO/IEC 9126, fuente: [93] ................................................................. 54 Figura 16, Vistas del estándar ISO/IEC 9126, fuente: [93] ................................................................. 54 Figura 17, ISO9126, características, sub-características y métricas, fuente: http://www1.sce.umkc.edu/~burrise/pl/software_quality_management/ ....................................... 55 Figura 18, El modelo de calidad interno/externo ISO/IEC 9126-1, fuente: [93] .................................. 57 Figura 19, Arquitectura de SQuaRE, fuente: [93] ............................................................................... 59 Figura 20, Ciclo de vida de la calidad de un producto de software, fuente: [93] ................................ 62 Figura 21, Estructura del modelo de calidad, fuente: [93] ................................................................. 63 Figura 22, Relación de SQuaRE con ISO/IEC 9126 e ISO/IEC 14598, fuente: [93] ................................ 63 Figura 23, Definición de etapas para el modelo propuesto, fuente propia. ........................................ 76 Figura 24, Arquitectura de Facebook, fuente propia. ........................................................................ 90 Figura 25, Estado inicial de la Arquitectura de Twitter, fuente: Improving Running .......................... 92 Figura 26, Actual esquema de Caché empleado por Twitter, fuente: Improving Running .................. 93 Figura 27, Aumento de las peticiones HTTP, usando Fragment Caché con diferentes clientes, fuente: Improving Running Components, Qcon London
Recommended publications
  • ( 12 ) United States Patent
    US010430263B2 (12 ) United States Patent ( 10 ) Patent No. : US 10 ,430 , 263 B2 Polar Seminario (45 ) Date of Patent : Oct. 1 , 2019 ( 54 ) DEVICES, SYSTEMS AND METHODS FOR ( 56 ) References Cited VALIDATING AND UPGRADING FIRMWARE IN INTELLIGENT ELECTRONIC DEVICES U . S . PATENT DOCUMENTS (71 ) Applicant: Electro Industries /Gauge Tech , 2 ,883 , 255 A 4 / 1959 Anderson Westbury , NY (US ) 2 , 987 , 704 A 6 / 1961 Gimpel et al . ( Continued ) ( 72 ) Inventor: Jorge A . Polar Seminario , Westbury, NY (US ) FOREIGN PATENT DOCUMENTS (73 ) Assignee : Electro Industries /Gauge Tech , CN 101799681 A 8 /2010 Westbury, NY (US ) WO 2009044369 A2 4 / 2009 ( * ) Notice: Subject to any disclaimer, the term of this OTHER PUBLICATIONS patent is extended or adjusted under 35 U . S . C . 154 ( b ) by 59 days. Microsoft TechNet , Using DNS Servers with DHCP, Jan . 21, 2005 , Accessed from https: // technet. microsoft . com / en -us / library / ( 21 ) Appl. No. : 15 /421 , 573 cc787034 on Jun . 9 , 2015 ; pp . 1 - 4 . (22 ) Filed : Feb . 1, 2017 (Continued ) Primary Examiner — Charles Ehne (65 ) Prior Publication Data (74 ) Attorney , Agent, or Firm — Gerald E . Hespos ; US 2017/ 0220404 A1 Aug . 3 , 2017 Michael J . Porco ; Matthew T . Hespos Related U . S . Application Data (57 ) ABSTRACT (60 ) Provisional application No . 62 /289 , 440 , filed on Feb . Apparatuses , systems, and method for validating and 1 , 2016 . upgrading firmware in an intelligent electronic device ( IED ) (51 ) Int. Ci. are provided. In one aspect of the present disclosure , an IED G06F 11 /00 ( 2006 . 01 ) is provided including at least one processor and at least one GO6F 11/ 07 (2006 .
    [Show full text]
  • PHP Beyond the Web Shell Scripts, Desktop Software, System Daemons and More
    PHP Beyond the web Shell scripts, desktop software, system daemons and more Rob Aley This book is for sale at http://leanpub.com/php This version was published on 2013-11-25 This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do. ©2012 - 2013 Rob Aley Tweet This Book! Please help Rob Aley by spreading the word about this book on Twitter! The suggested hashtag for this book is #phpbeyondtheweb. Find out what other people are saying about the book by clicking on this link to search for this hashtag on Twitter: https://twitter.com/search?q=#phpbeyondtheweb Contents Welcome ............................................ i About the author ...................................... i Acknowledgements ..................................... ii 1 Introduction ........................................ 1 1.1 “Use PHP? We’re not building a website, you know!”. ............... 1 1.2 Are you new to PHP? ................................. 2 1.3 Reader prerequisites. Or, what this book isn’t .................... 3 1.4 An important note for Windows and Mac users ................... 3 1.5 About the sample code ................................ 4 1.6 External resources ................................... 4 1.7 Book formats/versions available, and access to updates ............... 5 1.8 English. The Real English. .............................. 5 2 Getting away from the Web - the basics ......................... 6 2.1 PHP without a web server .............................. 6 2.2 PHP versions - what’s yours? ............................. 7 2.3 A few good reasons NOT to do it in PHP ...................... 8 2.4 Thinking about security ...............................
    [Show full text]
  • 2.3 Apache Chemistry
    UNIVERSITY OF DUBLIN TRINITY COLLEGE DISSERTATION PRESENTED TO THE UNIVERSITY OF DUBLIN,TRINITY COLLEGE IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE DEGREE OF MAGISTER IN ARTE INGENIARIA Content Interoperability and Open Source Content Management Systems An implementation of the CMIS standard as a PHP library Author: Supervisor: MATTHEW NICHOLSON DAVE LEWIS Submitted to the University of Dublin, Trinity College, May, 2015 Declaration I, Matthew Nicholson, declare that the following dissertation, except where otherwise stated, is entirely my own work; that it has not previously been submitted as an exercise for a degree, either in Trinity College Dublin, or in any other University; and that the library may lend or copy it or any part thereof on request. May 21, 2015 Matthew Nicholson i Summary This paper covers the design, implementation and evaluation of PHP li- brary to aid in use of the Content Management Interoperability Services (CMIS) standard. The standard attempts to provide a language indepen- dent and platform specific mechanisms to better allow content manage- ment systems (CM systems) work together. There is currently no PHP implementation of CMIS server framework available, at least not widely. The name given to the library is Elaphus CMIS. The implementation should remove a barrier for making PHP CM sys- tems CMIS compliant. Aswell testing how language independent the stan- dard is and look into the features of PHP programming language. The technologies that are the focus of this report are: CMIS A standard that attempts to structure the data within a wide range of CM systems and provide standardised API for interacting with this data.
    [Show full text]
  • Cloud Computing Zun¨Achst Heiter Bis Wolkig, Sp¨Ater Dauerhaft Bedeckt“ ”
    Ausgew¨ahlte Kapitel der Systemsoftware: Cloud Computing Zun¨achst heiter bis wolkig, sp¨ater dauerhaft bedeckt\ " Timo H¨onig Friedrich-Alexander-Universit¨at Erlangen-Nurnberg¨ Lehrstuhl Informatik 4 (Verteilte Systeme und Betriebssysteme) http://www4.informatik.uni-erlangen.de Sommersemester 2010 Cloud Computing: Agenda Zun¨achst heiter bis wolkig, sp¨ater dauerhaft bedeckt\ " Semesterabschluss Keine Wiederholung Aktive Teilnahme erwunscht¨ Themen Ph¨anomen Cloud Computing: Ursprung und Wurzeln Prinzip der Offenheit Fallstudie Twitter HS AKSS (SoSe 10) Cloud Computing: Zun¨achst heiter bis wolkig, sp¨ater dauerhaft bedeckt\1 " Eric Schmidt (Google) Search Engine Strategies Conference, San Jose, Cloud Computing: Der Anfang. We call it cloud computing (. ) 9. August 2006 HS AKSS (SoSe 10) Cloud Computing: Zun¨achst heiter bis wolkig, sp¨ater dauerhaft bedeckt\2 " Cloud Computing: Der Anfang. We call it cloud computing (. ) Eric Schmidt (Google) Search Engine Strategies Conference, San Jose, 9. August 2006 HS AKSS (SoSe 10) Cloud Computing: Zun¨achst heiter bis wolkig, sp¨ater dauerhaft bedeckt\2 " Cloud Computing: . und seine Folgen. *) Hochrechnung Gravierende Auswirkungen des Modeworts Cloud Computing\ " Forschung Wirtschaft Cloud Computing Fokus auf Technik Cloud ^=Internet, Cloud Computing ^=Internet + ? HS AKSS (SoSe 10) Cloud Computing: Zun¨achst heiter bis wolkig, sp¨ater dauerhaft bedeckt\3 " Infrastruktur, Hard- und Software-Technologie X Datenubertragungsrate,¨ Commodity Hardware, Virtualisierung Systemsoftware, Verteilte
    [Show full text]
  • 2015 Open Source Yearbook
    Opensource.com/yearbook . ........ OPENSOURCE.COM ................... Opensource.com publishes stories about creating, adopting, and sharing open source solutions. Visit Opensource.com to learn more about how the open source way is improving technologies, education, business, government, health, law, entertainment, humanitarian efforts, and more. Submit a story idea: https://opensource.com/story Email us: [email protected] Chat with us in Freenode IRC: #opensource.com Twitter @opensourceway: https://twitter.com/opensourceway Google+: https://plus.google.com/+opensourceway Facebook: https://www.facebook.com/opensourceway Instagram: https://www.instagram.com/opensourceway FROM THE EDITOR ............................. Dear Open Source Yearbook reader, The “open source” label was created back in 1998, not long after I got my start in tech publishing [1]. Fast forward to late 2014, when I was thinking about how much open source technologies, commu- nities, and business models have changed since 1998. I realized that there was no easy way—like a yearbook—to thumb through tech history to get a feel for open source. Sure, you can flip through the virtual pages of a Google search and read the “Best of” lists collected by a variety of technical publications and writers, much like you can thumb through newspapers from the 1980s to see the how big we wore our shoulder pads, neon clothing, and hair back then. But neither research method is particularly efficient, nor do they provide snapshots that show diversity within communities and moments of time. The idea behind the Open Source Yearbook is to collaborate with open source communities to collect a diverse range of stories from the year.
    [Show full text]
  • Pemanfaatan Hiphop for Php Pada Web Server
    PEMANFAATAN HIPHOP FOR PHP PADA WEB SERVER Gunawan 1, Suwandi Halim 2 STMIK Mikroskil Jl. Thamrin No. 112, 124, 140 Medan 20212 [email protected] 1, [email protected] 2 Abstrak HipHop for PHP merupakan sebuah teknologi optimasi website PHP yang dikembangkan oleh Facebook dengan mentransformasi source code PHP menjadi C++ yang optimal dan dengan mengorbankan beberapa fungsi PHP yang jarang digunakan. Artikel ini membahas penggunaan HipHop for PHP pada web server dan pengujiannya dengan cara membandingkannya dengan web server yang tidak menggunakan HipHop for PHP atau tanpa optimasi apapun. Uji coba terhadap pemakaian HipHop for PHP adalah dengan meng-compile sebuah website PHP atau kumpulan source code PHP menjadi binary files C++ hingga bisa diakses oleh sebuah web server . Juga akan dilakukan benchmark terhadap HipHop for PHP dengan menggunakan Apache Benchmark untuk mengetahui performansi HipHop for PHP dalam menangani request (permintaan) user dalam jumlah yang banyak. Dari hasil pengujian didapatkan bahwa HipHop for PHP mampu meningkatkan performansi web server untuk website PHP hingga lebih dari 50%. Kata Kunci : PHP, HipHop, web server, benchmark . 1. Pendahuluan PHP Hypertext Preprocessor merupakan salah satu bahasa scripting bersifat server-side yang cukup sering dijumpai pada pembuatan website . PHP berjalan pada web server , sehingga eksekusi script PHP bergantung pada kemampuan server yang digunakan. Semakin besar script PHP yang dieksekusi, maka penggunaan sumber daya CPU juga semakin besar, begitu pula dengan penggunaan memori. Dengan demikian, ketika semakin banyak user yang mengakses web server dan banyaknya script PHP yang harus dieksekusi, maka semakin besar pula sumber daya CPU dan memori yang digunakan, sehingga respon web server terhadap permintaan ( request ) masing-masing user akan menjadi semakin lambat.
    [Show full text]
  • Advanced Database Technologies Universität Summer 2011 Konstanz Prof
    Lecture: Advanced Database Technologies Universität Summer 2011 Konstanz Prof. Dr. Marc H. Scholl, Dr. Christian Grün. DBIS Group Advanced Database Technologies NoSQL: Not only SQL Christian Grün Database & Information Systems Group Universität Konstanz Lecture: Advanced Database Technologies Universität Summer 2011 Konstanz Prof. Dr. Marc H. Scholl, Dr. Christian Grün. DBIS Group NoSQL Introduction 30, 40 years history of well-established database technology… all in vain? Not at all! But both setups and demands have drastically changed: • main memory and CPU speed have exploded, compared to the time when System R (the mother of all RDBMS) was developed • at the same time, huge amounts of data are now handled in real-time • both data and use cases are getting more and more dynamic • social networks (relying on graph data ) have gained impressive momentum • full-texts have always been treated shabbily by relational DBMS 2 Lecture: Advanced Database Technologies Universität Summer 2011 Konstanz Prof. Dr. Marc H. Scholl, Dr. Christian Grün. DBIS Group NoSQL: Facebook Statistics royal.pingdom.com/2010/06/18/the-software-behind-facebook • 500 million users • 570 billion page views per month • 3 billion photos uploaded per month • 1.2 million photos served per second • 25 billion pieces of content (updates, comments) shared every month • 50 million server-side operations per second • 2008: 10,000 servers; 2009: 30,000 , … ☞ One RDBMS may not be enough to keep this going on! 3 Lecture: Advanced Database Technologies Universität Summer 2011 Konstanz Prof. Dr. Marc H. Scholl, Dr. Christian Grün. DBIS Group NoSQL: Facebook Architecture Memcached • distributed memory caching system • caching layer between web and database servers • based on a distributed hash table (DHT) HipHop for PHP • developed by Facebook to improve scalability • compiles PHP to C++ code , which can be better optimized • PHP runtime system was reimplemented 4 Lecture: Advanced Database Technologies Universität Summer 2011 Konstanz Prof.
    [Show full text]
  • What Is Big Data and How Facebook Uses Big Data
    International Journal of Research in Engineering and Science (IJRES) ISSN (Online): 2320-9364, ISSN (Print): 2320-9356 www.ijres.org Volume 9 Issue 5 ǁ 2021 ǁ PP. 57-63 What is Big Data and how Facebook uses Big Data Remya.S.P Assistant Professor On Contract,Department of Computer Science, University of Calicut,Kerala,India Abstract: With the advent and increased use of the internet, social media has become an integral part of people’s daily routine. In the second quarter of 2020, Facebook has emerged as the biggest social network worldwide, with over 2.9 billion monthly active users which is approximately the 1/5th of the world's total population. Launched in the year 2004, it has grown tremendously since then. With a sudden obsession in social media, the number of people on Facebook has increased enormously, producing a massive amount of data every minute. They are generating almost 500 terabytes of data every day. To store and process this huge amount of data, the concept of big data is used. Big Data refers to large volume of data which is growing exponentially with time. Big Data uses open source data warehousing platforms like hadoop, hive etc. By being massively engaged in its capacity for collecting, storing, and interpreting data, Facebook has placed Big Data at the heart of its operations. This paper presents the application of big data on face book, examining its current as well as future impact. Keyword: Big Data,Characteristics,Facebook,Types,Technology --------------------------------------------------------------------------------------------------------------------------------------- Date of Submission: 27-04-2021 Date of acceptance: 11-05-2021 --------------------------------------------------------------------------------------------------------------------------------------- I.
    [Show full text]
  • PHP Optimization Using Hip Hop Virtual Machine Chaitali Tambe, Pramod Pawar, Dashrath Mane Vivekanand Education Society Institute of Technology, Chembur
    International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 4 Issue 6, June 2015 PHP Optimization Using Hip Hop Virtual Machine Chaitali Tambe, Pramod Pawar, Dashrath Mane Vivekanand education society institute of technology, Chembur Abstract— HipHop compiler is PHP based compiler created facebook.com. PHP applications that were developed by facebook in order to optimize the php code and save using HipHop terminology resulted in increased speed of resources on the facebook server. HPHPc translates the php application. Several drawbacks of standalone php code into executable c++ code. Later facebook realized that applications were eliminated by using HPHPc, one of HPHPc had some snags which included resource consumption and parallel maintenance of HPHP and which was performance. HPHPi. In order to overcome the drawbacks of HPHPc A. Limitation of HPHPc: HipHop virtual machine was developed in 2011 which is a process virtual machine based on just-in-time (JIT) HPHPc did not fully support the PHP language, compilation, serving as an execution engine for PHP and including the create_function() and eval() Hack programming languages. HHVM provides complete constructs. support for the entire PHP language. This paper shows how HHVM is superior to other compilers like PHP, PHP 7 It involved a specific time and resource consuming and how various framework uses HHVM to optimize deployment process that required a bigger than php. In addition the lock-down approach shows the 1 GB binary to be compiled and distributed to behavior of each framework with hhvm and show how many servers in short orders. performance optimization can be obtained for heavy In addition, maintaining HPHPc and HPHPi in websites.
    [Show full text]
  • Caching PHP Virtual Machine Opcodes for Reuse in a Secure, Multi-User, Enterprise Programming Environment
    PHP ACCELERATION IN THE CLOUD: Caching PHP Virtual Machine Opcodes for Reuse in a Secure, Multi-User, Enterprise Programming Environment by Leif Wendal Wickland A project submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science MONTANA STATE UNIVERSITY Bozeman, Montana November 2010 ©COPYRIGHT by Leif Wendal Wickland 2010 All Rights Reserved ii APPROVAL of a thesis submitted by Leif Wendal Wickland This project has been read by each member of the thesis committee and has been found to be satisfactory regarding content, English usage, format, citation, bibliographic style, and consistency and is ready for submission to the Division of Graduate Education. Dr. Rocky Ross Approved for the Department of Computer Science Dr. John Paxton Approved for the Division of Graduate Education Dr. Carl A. Fox iii STATEMENT OF PERMISSION TO USE In presenting this project in partial fulfillment of the requirements for a master’s degree at Montana State University, I agree that the Library shall make it available to borrowers under rules of the Library. If I have indicated my intention to copyright this thesis by including a copyright notice page, copying is allowable only for scholarly purposes, consistent with “fair use” as prescribed in the U.S. Copyright Law. Requests for permission for extended quotation from or reproduction of this thesis in whole or in parts may be granted only by the copyright holder. Leif Wendal Wickland November 2010 iv DEDICATION and ACKNOWLEDGEMENTS To my wife and daughter who love me more than I deserve. -LW I would like to acknowledge Erich Hannan for giving me the opportunity to wait for the other shoe to drop.
    [Show full text]
  • HHVM @Richardtape
    HHVM @richardtape “It was a high-risk, high-reward bet. We now operate at such an enormous scale, we have to take enormous risks in order to survive” Jay Parikh, Facebook engineer $ HipHop for PHP (HPHPc) • A PHP transpiler (a PHP whatnow?) • Transpiles/Translates PHP into C++ • Then compiled into a binary • Then run as an executable • Regularly increased the speed of PHP Applications by 6 times Wait. Binary? Executable? What? • Caveat: IANAG (it’s a bit like I am not a lawyer) • Normal PHP • <?php your_code(); ?> -> opcodes -> interpreted (i.e. non-compiled, slow) • HPHPc • your_code(); -> Transpiled (fast!) into C++ -> binary -> executed YOU SAID COMPILE!! A new challenger approaches Hip Hop Virtual Machine Seriously. That’s actually what HHVM stands for. HHVM is a “process virtual machine” using just-in-time compilation YOU SAID COMPILE!! Don’t panic! • The ‘just-in-time’ before the word-we- no-longer say is key • It means you don’t have to do it yourself • And you just write your PHP as you normally would Process Virtual Machine? AKA an Application Virtual Machine. (Oh that’s much better.) Or a Managed Runtime Environment (Who makes these things up?) In real words it means that your code is completely abstracted away from the underlying platform which in turn means the same code will give the same results, regardless of platform. Hip Hop Byte Code I promise you I’m not just making up words. Again, that’s actually it’s name. PHP (and ‘Hack’) are converted into Hip Hop Byte Code (HHBC) which is then converted into machine code and then executed.
    [Show full text]
  • Challenges of Web Application Development: How to Optimize Client-Side Code
    Challenges of Web Application Development: How to Optimize Client-Side Code Chris Mulder S0326631 August 16, 2011 Contents 1 Introduction 3 1.1 Problem Statement . 4 1.2 Research Goals . 5 1.3 Research Methodology . 5 1.4 Structure of the Thesis . 5 2 Description of Problem Domain 6 2.1 History . 6 2.1.1 The Invention of the Web . 6 2.1.2 Browser Wars . 7 2.1.3 The HTML Standard . 8 2.1.4 JavaScript . 10 2.1.5 CSS . 13 2.2 Five Emerging Issues . 13 2.2.1 History/Back Button . 14 2.2.2 Search Engine Optimization . 14 2.2.3 Modularization, Code-generation . 15 2.2.4 Hiding Differences in Target Platforms . 16 2.2.5 Profiling/Benchmarking and Optimization . 17 2.3 Choice and Motivation . 18 3 Action Research 20 3.1 Research Setup . 20 3.2 Project Kickoff . 20 3.3 Research Phase #1: Tools Overview . 21 3.4 Research Phase #2: First Trials . 24 3.4.1 Plain JavaScript Approach . 24 3.4.2 Speed Tracer Approach . 25 3.5 Development Phase: Chosen Approach . 26 3.5.1 Navigation Timing . 26 3.5.2 Custom Measurements . 27 3.5.3 Triggering The Benchmark . 28 3.5.4 The Beacon . 29 3.5.5 Automation of Benchmarking . 30 1 3.6 Overview of Implementation . 31 3.7 Results . 31 4 Discussion 33 4.1 Challenges in Web Engineering Research . 33 4.2 Course of the Process . 33 5 Conclusion 35 6 Furture Work 37 6.1 Additions to Current Implementation .
    [Show full text]