Lea Verou is a Greek-American computer scientist, front end web developer, speaker and author, originally from Lesbos, Greece. Verou is currently a research ass...
Link: Lea Verou
seen from Russia

seen from Pakistan

seen from United Kingdom
seen from United States

seen from Australia
seen from China

seen from United Kingdom
seen from Türkiye

seen from United States
seen from Malaysia

seen from United States
seen from Belgium

seen from United States

seen from Malaysia

seen from United States
seen from China

seen from United States
seen from China

seen from Kazakhstan
seen from China
Lea Verou is a Greek-American computer scientist, front end web developer, speaker and author, originally from Lesbos, Greece. Verou is currently a research ass...
Link: Lea Verou
Markapp: A list of HTML libraries
Tweet
I have often lamented how many JavaScript developers don’t realize that a large percentage of HTML & CSS authors are not comfortable writing JS, and struggle to use their libraries.
To encourage libraries with HTML APIs, i.e. libraries that can be used without writing a line of JS, I made a website to list and promote them: markapp.io. The list is currently quite short, so I’m counting on you to expand it. Seen any libraries with good HTML APIs? Add them!
This entry was posted in Original and tagged HTML, HTML libraries, JavaScript. Bookmark the permalink.
via http://ift.tt/2bn2pBM by Lea Verou
It’s all true. Unless you have to maintain an existing code base.
What do you say to Angular devs? Besides good luck with 2.0 or finding another framework ;) Anyway, jQuery FTW!!!
…but that’s not even the biggest reason not to use it today
To avoid extending the native element prototypes, jQuery uses its own wrapper objects. Extending native objects in the past was a huge no-no, not only due to potential collisions, but also due to memory leaks in old IE. So, what is returned when you run $("div") is not a reference to an element, or a NodeList, it’s a jQuery object. This means that a jQuery object has completely different methods available to it than a reference to a DOM element, an array with elements or any type of NodeList. However, these native objects come up all the time in real code — as much as jQuery tries to abstract them away, you always have to deal with them, even if it’s just wrapping them in $(). For example, the context when a callback is called via jQuery’s .bind() method is a reference to an HTML element, not a jQuery collection. Not to mention that often you use code from multiple sources — some of them assume jQuery, some don’t. Therefore, you always end up with code that mixes jQuery objects, native elements and NodeLists. And this is where the hell begins.
If the developer has followed a naming convention for which variables contain jQuery objects (prepending the variable names with a dollar sign is the common one I believe) and which contain native elements, this is less of a problem, though humans often end up forgetting to follow such conventions. However, in most cases no such convention is followed, which results in the code being incredibly hard to understand by anyone unfamiliar with it. Every edit entails a lot of trial and error now (“Oh, it’s not a jQuery object, I have to wrap it with $()!” or “Oh, it’s not an element, I have to use [0] to get an element!”). For the same reason, it also becomes especially hard to refactor jQuery out of said code. You are essentially locked in.
Expreciones regulares por Lea verou
Otra vez Lea Verou regalanodon algo de lo mucho que sabe
http://leaverou.github.io/regexplained/
Ultra lightweight, customizable, simple autocomplete widget with zero dependencies, built with modern standards for modern browsers.Because <datalist> still doesn’t cut it.
A library of animations by Lea Verou using CSS and javascript with the data attribute in your HTML. Boom!
The real problem is the same as my mother’s: the idea that because other people weren’t uncomfortable with the comment, her discomfort was irrational.
“Stop being so sensitive.”
This marginalizes the person who dares to speak up when they’re uncomfortable, and that’s bad enough. But it’s also bigger and more systemic than that. The more we tell people who are different from us that their needs and boundaries aren’t OK—and that they’re abnormal and irrational for having them—the narrower our community’s perception of normality becomes.
un verdadera capa del css