PHP6, HTML5 What’s new, what works, what doesn’t
PHP6: What’s new*? Unicode support throughout is planned (8/16?) Code clean-up A lot of backwards compatibility (BC) removed register_globals, magic_quotes, and so on Needless/broken features removed (e.g. safe_mode) Changes in extensions EReg being dropped (already in 5.3) XMLReader/Writer (5.1), APC, Fileinfo in core Namespaces (already in PHP 5.3) Source:  Passing Curiosity (* Mostly new)
PHP6: What else is new? More neat features Features now in 5.3 : Anonymous functions, late static binding, PHAR, etc. Other small changes E_STRICT included in E_ALL [ ] used instead of {} for string indexes ASP-style (<% %>) no longer supported 64-bit integers …  and more  … Source:  David Walsh
PHP6: To come There is  more to come  ( old list ) from PHP6 PHP6 has been expected for a while, and thus has drawn a  fair amount of criticism … even an  April Fool’s joke on it’s release Developers do not want to rush it out the door, but get it done well and enjoy doing it
HTML5 HTML5 makes several changes and adds new features to HTML that were previously accomplished in a variety of other ways, e.g.: <video> provides … video! Similar for <audio> <canvas> for drawing images on the fly Storage for storing data (similarly to cookies) HTML5 doctype: <!DOCTYPE html>
HTML5: <canvas> Allows on-the-fly drawing, such as graphs, images, even animations Several canvas demo galleries: http://www.canvasdemos.com/ http://www.randomthink.net/labs/canvas/ http://www.phpguru.org/static/html5-canvas-examples Many canvas samples/demos as well: http://mrdoob.com/projects/harmony/ http://mugtug.com/sketchpad/ http://canvaspaint.org/ http://www.yvoschaap.com/chainrxn/ http://www.rgraph.net/
HTML5: … versus Flash? Canvas is not, was not, and will never mean to be a (full-on) competitor with Flash Canvas is meant to be used where Flash was used as a stop-gap, where often the question asked was “Isn’t there another way?” JavaScript will never perform faster than precompiled scripting, thus would never (properly) manage to beat Flash in performance regardless
HTML5: A/V Youtube, DailyMotion, Vimeo and other video sites offer an HTML5 option, bypassing Flash for video Ogg/Theora was being pushed as the standard No consensus could be reached thus there is no standard codec; H.264 tends to be used (YT) If  Google open-sources VP8 , it is a likely candidate to be the standard
HTML5: General new mark-up <header> (not to be confused with <head> of course) Used to contain groups of intro/nav items <nav> Meant to desginate portion(s) of document used for navigation <article> Similar to <section>, but meant to be independently usable, e.g. blog entry, comment, newspaper article <section> Similar to <div>, usually beginning with a heading; <h1…6> can be re-used in a document using sections <aside> Sidebars related to the content but separate from it <footer> Similar to header, used for bottom of a section of content, e.g. copyrights Source:  A List Apart
HTML5: More general mark-up <figure> (think “See figure 1”) <mark> for marking (highlighting) relevance Linguistic helpers such as <ruby> And more…
HTML5: Forms New input types: Text variants: Search (stylistic), telephone, URL, e-mail Time Time, date, time, month, week, datetime-local (no TZ) Number, range (with step, min/max attributes) Color New attributes: Autocomplete (on/off), list Required Multiple Pattern (basically a regular expression) Placeholder (short hint text)
HTML5: Forms (cont) New elements: datalist (for list attribute) keygen (Yes, cryptographic keys) output (for calculations) progress* meter* (* Still have issues to be resolved)
HTML5: Plenty more Interactive elements details* summary command menu More in the specification: http://dev.w3.org/html5/spec/ (* Still have issues to be resolved)
HTML5: Browser support Important to note that HTML5 is not final just yet Partial support from browsers so far Internet Explorer: 8, 7, 6, 5 and previous: No. A work-around exists to  enable styling of unsupported HTML5 tags 9:  So far, yes Firefox: ~3.5-3.6 Chrome/Chromium Safari? And others
?

PHP6 and HTML5

  • 1.
    PHP6, HTML5 What’snew, what works, what doesn’t
  • 2.
    PHP6: What’s new*?Unicode support throughout is planned (8/16?) Code clean-up A lot of backwards compatibility (BC) removed register_globals, magic_quotes, and so on Needless/broken features removed (e.g. safe_mode) Changes in extensions EReg being dropped (already in 5.3) XMLReader/Writer (5.1), APC, Fileinfo in core Namespaces (already in PHP 5.3) Source: Passing Curiosity (* Mostly new)
  • 3.
    PHP6: What elseis new? More neat features Features now in 5.3 : Anonymous functions, late static binding, PHAR, etc. Other small changes E_STRICT included in E_ALL [ ] used instead of {} for string indexes ASP-style (<% %>) no longer supported 64-bit integers … and more … Source: David Walsh
  • 4.
    PHP6: To comeThere is more to come ( old list ) from PHP6 PHP6 has been expected for a while, and thus has drawn a fair amount of criticism … even an April Fool’s joke on it’s release Developers do not want to rush it out the door, but get it done well and enjoy doing it
  • 5.
    HTML5 HTML5 makesseveral changes and adds new features to HTML that were previously accomplished in a variety of other ways, e.g.: <video> provides … video! Similar for <audio> <canvas> for drawing images on the fly Storage for storing data (similarly to cookies) HTML5 doctype: <!DOCTYPE html>
  • 6.
    HTML5: <canvas> Allowson-the-fly drawing, such as graphs, images, even animations Several canvas demo galleries: http://www.canvasdemos.com/ http://www.randomthink.net/labs/canvas/ http://www.phpguru.org/static/html5-canvas-examples Many canvas samples/demos as well: http://mrdoob.com/projects/harmony/ http://mugtug.com/sketchpad/ http://canvaspaint.org/ http://www.yvoschaap.com/chainrxn/ http://www.rgraph.net/
  • 7.
    HTML5: … versusFlash? Canvas is not, was not, and will never mean to be a (full-on) competitor with Flash Canvas is meant to be used where Flash was used as a stop-gap, where often the question asked was “Isn’t there another way?” JavaScript will never perform faster than precompiled scripting, thus would never (properly) manage to beat Flash in performance regardless
  • 8.
    HTML5: A/V Youtube,DailyMotion, Vimeo and other video sites offer an HTML5 option, bypassing Flash for video Ogg/Theora was being pushed as the standard No consensus could be reached thus there is no standard codec; H.264 tends to be used (YT) If Google open-sources VP8 , it is a likely candidate to be the standard
  • 9.
    HTML5: General newmark-up <header> (not to be confused with <head> of course) Used to contain groups of intro/nav items <nav> Meant to desginate portion(s) of document used for navigation <article> Similar to <section>, but meant to be independently usable, e.g. blog entry, comment, newspaper article <section> Similar to <div>, usually beginning with a heading; <h1…6> can be re-used in a document using sections <aside> Sidebars related to the content but separate from it <footer> Similar to header, used for bottom of a section of content, e.g. copyrights Source: A List Apart
  • 10.
    HTML5: More generalmark-up <figure> (think “See figure 1”) <mark> for marking (highlighting) relevance Linguistic helpers such as <ruby> And more…
  • 11.
    HTML5: Forms Newinput types: Text variants: Search (stylistic), telephone, URL, e-mail Time Time, date, time, month, week, datetime-local (no TZ) Number, range (with step, min/max attributes) Color New attributes: Autocomplete (on/off), list Required Multiple Pattern (basically a regular expression) Placeholder (short hint text)
  • 12.
    HTML5: Forms (cont)New elements: datalist (for list attribute) keygen (Yes, cryptographic keys) output (for calculations) progress* meter* (* Still have issues to be resolved)
  • 13.
    HTML5: Plenty moreInteractive elements details* summary command menu More in the specification: http://dev.w3.org/html5/spec/ (* Still have issues to be resolved)
  • 14.
    HTML5: Browser supportImportant to note that HTML5 is not final just yet Partial support from browsers so far Internet Explorer: 8, 7, 6, 5 and previous: No. A work-around exists to enable styling of unsupported HTML5 tags 9: So far, yes Firefox: ~3.5-3.6 Chrome/Chromium Safari? And others
  • 15.