Making Frameworks Suck Less—IPC

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Making Frameworks Suck Less—IPC - Presentation Transcript

    1. Making Frameworks Suck Less terry chay International PHP Conference, Berlin 2009-05-26T09:00+200
    2. Roadmap Introduction
    3. Where I’m coming from
    4. Terry Chay goes to Zendcon Not about making frameworks suck less …so much as why frameworks suck.
    5. PHP Coding Web Development OOP Engine g11n - What is a design pattern? - What are differences between PHP4 - What is the difference between -- why is it not an algorithm? and PHP5? i18n and l10n? -- why use patterns at all? - How does PHP4 handle objects - How would you solve that -- Example strangely? architecturally? -- what is a \"consequence\" mean? -- How does PHP5 fix this - How does PHP deal with it? -- consequences of the pattern -- what is \"is a\" relationship? -- Name an interesting PHP quirk you - What are some pitfalls to avoid in -- How does that relate to design came across in your last project? character handling? patterns? - How are defines different from SQL injection - How is HTML templating MVC? variables? - what is an SQL injection attack? -- how is not like MVC? -- Faster? -- How do you fix it? (three ways) - Name a principle of package reuse? -- Better? -- Which one would you do? - Strengths and weaknesses of - How does the Zend Engine work -- How do you create a security frameworks? (basically)? (Or explain the what a JVM audit point? - In design define is__ OTHER ATTACKS -- poor design example: (rigidity, fragility, -- How does code caching work? - what is session fixation immobility, viscosity, needles complexity, -- Why is Java and dotNet faster than - what is XSS needless repetition, opacity) PHP ever will be? - what is XSRF -- Single Responsibility Principle? -- how is javac different than gcc? -- Can you give an example about -- Open-Close Principle? settings XSRF to determine login state on a -- Liskov Substitution Principle? - What is \"safe mode\"? remote site? -- Dependency-Inversion Principle? - How do you code around Philosophy -- Interface Segregation Principle?- \"magic_quotes_gpc=on\"? - What does \"filter-input escape Principle of Package reuse -- Release-Reuse Equivalenc? - What is PEAR? output\" mean? -- Common Closure Principle? -- How do you install a PEAR library -- example of filter? -- Common Reuse Principle? -- How does PEAR handle errors? -- example of escape? -- Acyclic Dependencies Principle? - What is a PHP extension? -- what is \"magic quotes\" and why is -- Stable Dependencies Principle? -- Why extensions at all? what are the it bad? -- Stable Abstractions Principle? advantages of extensions HTML/CSS - HTTP protocol -- what are the disadvantages of - Example of browser rendering - what is the difference between post and extensions? quirk? get? -- How do you compile extensions? -- Workaround? -- name some HTTP headers? -- Where repositories for extensions?… - Box model?… - areas of race conditions in PHP?…
    6. Roadmap Challenges and Choices
    7. Choices Writing software is about MAKING CHOICES ? !
    8. What is a design pattern? Has a name Solves a problem Independent of code that implements it Has consequences breadcrumbs tabs
    9. Pareto Principle
    10. Pareto Principle
    11. Ruby on Rails graph of rock and hard place text: rock, hard place, “here is ruby” (Frameworks)
    12. The Database Ahmdahl’s law and abstraction (Premature Optimization) Database Scalability (“Moore’s Law” punt, vs. master-slave, vs. vertical vs. horizontal Independence vs. Portability
    13. Roadmap Where Frameworks Rock
    14. Toy Sites
    15. “Enterprise”
    16. Standardization
    17. RAD
    18. Roadmap Where PHP Rocks
    19. Must keep with PHP’s easy simple direct ugly
    20. Brayism Tim Bray of Sun on developing in PHP…
    21. Brayism Tim Bray
    22. Glue Originally 3 tier Now glue: client, db, memcache, smtp (virality), http services (REST, XMLRPC, SOAP), http scraping, UDP logging, other long-lived services (search, map reduce, message q, cometd)
    23. Roadmap Examples of Good Framework Design
    24. Solves errors Design patterns solve errors in design
    25. Other stuff configuration, registry caching (memcache = L2) where? readthrough, output, db publish-subscribe (inversion of control, AQS) i18n/l10n A-B testing, analytics, loggin
    26. Roadmap Challenges and Choices in PHP
    27. graph of 40% 40% 60% use PHP don’t use PHP
    28. graph of rock and hard place PHP
    29. Bind lightly Loose coupling Loosly coupling graph with various ser vices mention comet mention map-reduce mntion search mention social-graph
    30. Play nice Story of memcache Java patterns Java and Javascript language constructs Even with Ruby (deployment)
    31. Especially with Ruby php strengths from shared - nothing ruby strengths from multi- threading cloud computing (vs. PHP hosted) GitHub, CruiseControl, etc.
    32. Roadmap Conclusion
    33. Conclusion Not “F— You!” Image of me “Blog This!” Appreciate Feedback… tychay@php.net http://terrychay.com/blog/

    + terry chayterry chay, 5 months ago

    custom

    338 views, 1 favs, 0 embeds more stats

    The PDF version of the slides deck from my talk on more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 338
      • 338 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 4
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories