Skip to main content

Home/ PHP Programming/ Group items tagged design-patterns

Rss Feed Group items tagged

rucoven

Design Pattern MVC - zoom sur la couche modèle : DAL / DAO / ORM / CRUD | Vin... - 0 views

  •  
    Design Pattern MVC Voilà deux ans que je fais un cours, suivi d'un petit projet traitant du design Pattern MVC.  Le projet est à écrire en PHP5, avec une base de données MySQL comme support de stockage des données, l'architecture MVC est donc à implémenter dans un contexte purement web. Le paradigme objet est tout indiqué quand il s'agit d'écrire et d'agencer des composants logiciels, c'est donc celui qui sera adopté dans toute la suite. Il y a bien entendu beaucoup de projets existants implémentant le design Pattern MVC en PHP, mais le propos du cours est plutôt de réaliser un cas pratique d'implémentation afin de bien saisir les bien faits du design pattern  MVC. En effet l'utilisation d'un design pattern architectural en PHP, s'oppose à la pratique empirique de ce langage qui consiste à mélanger les connexions et accès à la base de données, avec le traitement des données et leur affichage. Dans ce cas il est alors commun d'avoir dans un seul script: du PHP, du SQL, du Javascript et du CSS dans les attributs des balises HTML soit pas moins de 5 langages distincts.
Whizark on Diigo

whizark/php-patterns - 0 views

  •  
    "A PHP 5.4+ pattern collection that covers design patterns, anti-patterns, closure patterns, refactoring patterns."
Steĥane Gosselin

Design Patterns and Refactoring - 0 views

  •  
    Excellent ressource on design patterns and coding techniques.
jdr santos

wiki [TinyMVC Framework] - 0 views

  •  
    TinyMVC is written in object PHP5, simple and lightweight framework which use MVC (Model-View-Controller) architectural design pattern aproach to easy and fast PHP web application developement.
jdr santos

DooPHP - The fastest MVC based php framework - 4 views

  •  
    DooPHP is a rapid development framework for PHP using commonly known design patterns like MVC and ORM, reduces development costs and helps developers write less code
Sarah HL

Rasmus Lerdorf: PHP Frameworks? Think Again. - 0 views

  • Rasmus Lerdorf is the creator of PHP and still continues as a core developer to the PHP project.
  • heavy Twitter mashup that he created. This does a lot of database calls and a lot of behind the scenes work. By hand-tuning it he was able to get on the order of 280 req/sec.
  • "Any script based language is simply not fast enough".
  • ...2 more annotations...
  • So, are there any frameworks that don’t suck? Rasmus did mention that he liked CodeIgniter because it is faster, lighter and the least like a framework.
  • It all starts with “I don’t need a framework.” 2. Then you create 7 classes. 3. Now you have a small library of classes. 4. Then you create an application that uses your library. 5. It works and it’s fast, hurray! 6. Then someone asks you to extend the functionality of your application. 7. And they keep asking for more, and more, and more and more… 8. Now you have 43 classes. 9. You’ve learn so much in the last 2 years. Design patterns, security, performance, testing… 10. What once was a small library is now a big, ugly, un-tested, un-documented, scary framework. 11. Then you change jobs. 12. And you create another 7 classes… This has been happening for the last 30 years.
Sarah HL

Pourquoi critiquer autant PHP ? « rand(0) - 0 views

  • Je me demande pourquoi est-ce l’image de PHP n’est pas aussi « bonne » que celle de Java ?
  • PHP permet cette anarchie mais c’est à vous, architectes, de vous former et de savoir utiliser les bonnes méthodes et outils pour commencer le développement d’un projet évolutif, sécurisé et léger.
  • PHP offre aujourd’hui la possibilité d’appliquer les principaux design patterns à vos applications ainsi qu’une implémentation objet du langage même si PHP ne sera jamais un langage 100% objet, mais c’est ce qui fait sa force.
  • ...2 more annotations...
  • Il peut intervenir à tous les niveaux de votre application : L’exécution de tâches automatisées CRON ; Des simples scripts CLI de maintenance sur votre serveur ; Des scripts de services toujours exécutés en CLI sur votre serveur ; Pour le développement d’une application fenêtrée GTK ; Le développement d’une application Web aussi simple ou complexe soit-elle ; etc.
  • « le client a demandé certaines évolutions que nous n’étions plus en mesure de développer sur notre application sans devoir tout casser… » Je voudrais bien savoir quel genre d’évolutions le client a demandé pour devoir en arriver là… Est-ce réellement dû à une limite de PHP ou à une mauvaise utilisation du langage ?
Sarah HL

Where Has All The PHP Gone? - 0 views

  • I was always able to find help with almost anything PHP related that I needed. It wasn’t the ‘cut and paste’ kind of help, it was the ‘detailed explanation’ kind of help.
  • it is becoming increasingly more difficult to learn PHP
  • Beginners nowadays are being hit over the head with grandiose concepts such as ‘dependency injection’ and ‘favouring composition over inheritance’ which really have nothing to do with PHP itself.
  • ...4 more annotations...
  • we now have PHP developers going around developing inferior software
  • We have developers obsessed with micro-optimizations and zombie followers of design patterns when the truth of the matter is that had they just been introduced the language properly in the first place many of these concepts would become like second nature
  • senior members of the PHP community need to, for the sake of our beloved language, shift some of the focus of our discussions and our articles back to PHP. Just pure PHP.
  • I hate PHP frameworks. They do absolutely nothing to aid in the learning of the language and, at the rate that they are going, we’ll soon find that PHP frameworks abstract away PHP itself.
Sarah HL

Top 10 Traits of a Rockstar Software Engineer - 1 views

  • Loves To Code Gets Things Done Continuously Refactors Code Uses Design Patterns Writes Tests Leverages Existing Code Focuses on Usability Writes Maintainable Code Can Code in Any Language Knows Basic Computer Science
1 - 9 of 9
Showing 20 items per page