"Mr Branding" is a blog based on RSS for everything related to website branding and website design, it collects its posts from many sites in order to facilitate the updating to the latest technology.
To suggest any source, please contact me: Taha.baba@consultant.com
Tuesday, February 19, 2019
XMLHttpRequest vs the Fetch API: What’s Best for Ajax in 2019?
March 2019 celebrates the 20th anniversary of Ajax. Sort of. The first implementation of XMLHttpRequest shipped in 1999 as an IE5.0 ActiveX component (don't ask).
Before then, there had been ways to pull data from a server without a full-page refresh, but they often relied on clunky techniques such as <script> injection or third-party plugins. Microsoft developed XMLHttpRequest primary for a browser-based alternative to their Outlook email client.
XMLHttpRequest was not a web standard until 2006, but it was implemented in most browsers. Its adoption in Gmail (2004) and Google Maps (2005) led to Jesse James Garrett's 2005 article AJAX: A New Approach to Web Applications. The new term crystallised developer focus.
AJAX to Ajax
AJAX is a mnemonic for Asynchronous JavaScript and XML. "Asynchronous" definitely, but:
- JavaScript was likely, although VBScript and Flash were options
- The payload did not need to be XML, although that was popular at the time. Any data format could be used and, today, JSON is normally preferred.
We now use "Ajax" as a generic term for any client-side process which fetches data from a server and updates the DOM dynamically without a full-page refresh. Ajax is a core technique for most web applications and Single-Page Apps (SPAs).
Extreme XMLHttpRequest
The following JavaScript code shows a basic HTTP GET request for http://domain/service using XMLHttpRequest (commonly shortened to XHR):
The post XMLHttpRequest vs the Fetch API: What’s Best for Ajax in 2019? appeared first on SitePoint.
by Craig Buckler via SitePoint
5 Core Elements for Building Award-Winning One-Page Websites
This sponsored article was created by our content partner, BAW Media. Thank you for supporting the partners who make SitePoint possible.
Is your next project a one-page website? You might think designing it would be an easy task compared to the multi-page website designs. You're in for a surprise.
Making a one-pager both visually appealing and user-friendly is harder than you think. The design effort alone could be a factor of 10 times greater than you normally put into a multi-page site. This is of the challenges involved in designing a one-pager. For example, you need to stuff a lot of valuable information into a much smaller space in a way that won't turn users off
This guide is centered about 5 critical elements you need to take into account. It will help your one-pager become a success. They're somewhat akin to fire, earth, water, air, and spirit, the 5 fundamental elements of nature. But they're much more important for your purposes.
The post 5 Core Elements for Building Award-Winning One-Page Websites appeared first on SitePoint.
by SitePoint Team via SitePoint
Statistics to Factor Into Your 2019 Marketing Strategy (infographic)
[ This is a content summary only. Visit our website http://bit.ly/1b4YgHQ for full links, other content, and more! ]
by Zia Zaidi via Digital Information World
Scammers Are Using YouTube's Copyright Strikes For Extortion Schemes
[ This is a content summary only. Visit our website http://bit.ly/1b4YgHQ for full links, other content, and more! ]
by Daniyal Malik via Digital Information World