Posted by Jeroen Pluimers on 2014/03/08
Even though 3 years old, this is still relevant. Thanks Ilya Grigorik for pointing me at it.
Make sure your HTML HEAD tag has the elements in the below order:
- any charset must come first (UTF-8 works best) though even better is to specify this in your http header,
- any any x-ua-compatible comes second.
Why? Read Best Practice: Get your HEAD in order – IEInternals – Site Home – MSDN Blogs.
So the document element starts like this: Read the rest of this entry »
Posted in Development, HTML, HTML5, Software Development, Web Development | Tagged: HTML HEAD tag | Leave a Comment »
Posted by Jeroen Pluimers on 2014/03/07
Posted by Jeroen Pluimers on 2014/03/06
The @appmethod secret.
Wow. Out of the blue, I just read Embarcadero Launches AppMethod, A New Multi-Device Development Platform For Native Apps | TechCrunch. And I’m impressed.
At SXSW 2014 (which is running now, its agenda has a schedule from March 7th till March 16th), Embarcadero announces appmethod, to be released in beta on March 18th, 2014 for building native cross platform applications. Many have found out you can apply for the beta at www.appmethod.com.
More and more people are bumping into the appmethod link, for instance on FaceBook, on Google Plus, at Delphi Bistro and #Appmethod starting with the @appmethod secret by Joy Ruff.
Below are a few my observations from following all of the above links. Read them, especially the TechCrunch. I expect interesting posts from others to follow really soon now (:.
I’m only a few hours ahead of you readers, but I’m having a positive vibe just for these reasons: Read the rest of this entry »
Posted in Android, C++, Delphi, Delphi XE5, Development, iOS Development, JSON, Mobile Development, Object Pascal, OS X FMX, Pascal, SOAP/WebServices, Software Development | Tagged: embarcadero, Multi-Device, TechCrunch | 15 Comments »
Posted by Jeroen Pluimers on 2014/02/20
Since the time that spaces are allowed in path and file names, it has caused confusion.
I personally like the readability of spaces, but still tend to avoid them as they usually cause more harm than the readability gains.
An interesting thread about spaces in file names is operating systems – What technical reasons exist for not using space characters in file names? – Super User.
In URLs, you there are various kinds of places where spaces can be used. You have to escape as Xah Lee wonders in does HTTP protocol require space be encoded in file path?.
The escaping is part of the URL Encoding, but the escapes depends on the position of the space. In the query part (after the first ?), you can have it escaped by both %20 and plus sign, but in the path part (before the first ? sign), it can only have a %20.
This is explained by bobince in urlencode – when to encode space to plus (+) and when to %20? – Stack Overflow.
That escaping basically makes path and file names a lot less readable when passed as a URL. It causes posts like these:
But why can you still use spaces when you type a URL in your web browser, or use it in a href, src or other HTML URL attribute?
Xah Lee rightfully earlier wondered about that in webserver – space in url; did browser got smarter or server? – Stack Overflow.
Technically, both are not allowed. But web browser manufacturers understand we humans are lazy, and accommodate for that by encoding these when putting them into the HTTP request.
You can type “https://www.google.com/search?q=foo bar” in your web browser, and depending on the browser, it gets translated into either one of these:
- encode spaces in URLs as %20
- try to avoid spaces in path and filenames
Posted in Development, HTML, Software Development, Web Development | Leave a Comment »