background preloader

Deux développeurs en vadrouille qui se sortent les doigts du code

Deux développeurs en vadrouille qui se sortent les doigts du code

Le blog de Nicolas Hachet » Techniques informatiques : PHP, MySQL, frameworks... Le blog d'un ingénieur d'études Web NTIC WebRTC: Not Quite Magic WebRTC is an open source real-time communications standard for web browsers exposed through JavaScript APIs. The goal as stated on the project’s webpage: To enable rich, high quality, RTC applications to be developed in the browser via simple JavaScript APIs and HTML5. In the past year I have been hearing more and more people talk about WebRTC and its plugin-less and auto-magical nature. At hackathons kids pump out amazing projects that allow for rich server-less communication between browsers, polished in just a few hours. All of this is true when you are developing an application for communicating with people in the same room. About a month ago I decided it was time to dive into the awesome and easy world of WebRTC. I moved on, expanding the application to allow for video chat between multiple people, basically anyone that visited a unique url. This excitement turned to confusion when the eighth friend tried connecting. I had a functional STUN server set up. No luck.

Blog de Valentin Pourchet Les intégristes Ninja Squad - Le Blog blog.phpdeveloper.org — To close or not to close Have you ever wondered if it's better to "close" a br or input tag like <br /> or if it's better to just write <br> in HTML5? Or why it's not correct to write <script src="script.js" />? Well so have I, and my findings on the subject were a lot more interesting than I anticipated (if for some strange reason you find stuff like this interesting). If you are not interested in the whole story, just jump to the section «validity» to get your answer. Void elements are a special kind of element that must not have content. The most known void elements are: The lesser known are: That's it. It is not, and has never been, valid HTML to write <br></br>, since this would imply that the br element accepts content (writing <br>Hello! Although most people know that in XHTML it is mandatory to write <br /> the rules for HTML are less obvious. To completely understand the rules of void elements a bit of history is necessary. HTML and XML derived directly from SGML. So far so good? Yay for HTML5!

Hypervisor.fr

Related: