WebPerf : "A quelle vitesse ma page se charge-t-elle ?" Cette question est à la base de toute stratégie de WebPerf et pour autant, elle n’admet aucune bonne réponse. Alors comment mesurer la performance Web ? Il n’y a pas de façon "standard" de mesurer la performance web mais plusieurs, qui correspondent à ce qui se passe dans le navigateur lors de l’accès à une page Web. Quand vous tapez dans votre barre d’adresse l’URL de Clever Age et attendez que la page s’affiche, votre navigateur : Se connecte au serveur hébergeant le site et lui demande de renvoyer le contenu de la page HTML Reçoit le contenu de la page HTML Interprète le code HTML pour comprendre comment est structurée la page et de quels objets supplémentaires (images, mises en forme, scripts...) elle a besoin pour être rendue Charge l’ensemble des ressources en question Affiche la page Exécute d’autres script après le chargement, impliquant eux-même le chargement de nouvelles ressources et le déclenchement d’animations Le "Time To First Byte" Quels problèmes ? Les temps d’affichage
HTTP vs REST vs SOAP 20 Jan, 2009 HTTP vs REST vs SOAP Posted by Bhavin Turakhia I have been an active proponent of SOAP since its inception. Introduction Let me first clarify the terminology - SOAP refers to Simple Object Access Protocol HTTP based APIs refer to APIs that are exposed as one or more HTTP URIs and typical responses are in XML / JSON. Typing SOAP provides relatively stronger typing since it has a fixed set of supported data types. Client-side effort Making calls to an HTTP API is significantly easier than making calls to a SOAP API. Testing and Troubleshooting It is also easy to test and troubleshoot an HTTP API since one can construct a call with nothing more than a browser and check the response inside the browser window itself. Server-side effort Most Programming languages make it extremely easy to expose a method using SOAP. Caching Since HTTP based / Rest-ful APIs can be consumed using simple GET requests, intermediate proxy servers / reverse-proxies can cache their response very easily.
Some Advanced Papier Mache Recipes Some Advanced Papier Mache - Papier Maché Pulp Recipes Warning: Due to some of the ingredients and techniques involved in this tutorial, this is not recommended for children without adult supervision. Introduction I've been making paper maché items since I was 13 years old. My Grandmother used to make bird houses and feeders that my Grandfather would laquer with the remains of a product he used for finishing car paints (he was a car mechanic). Later on in life I got fascinated by the world of puppeteering (the muppet show is still in my top 5 favourite shows) and started my first trek in the business when I was 18. One of the things that fascinates me the most is that to the contrary of many beliefs, paper mache isn't just paper and glue. Here are a few that are my most used. Finishing paper mache (porcelain finish) You will need: - 1/2 roll good quality white toilet paper- 1 tablespoon raw linseed oil Instructions:Rip, mix and apply... simple as that! "Hard mache" (for strong pieces) Grind!
A New Front-End Methodology: BEM Convert a Unix timestamp to a .NET DateTime The POSIX time, or Unix time , is the number of seconds elapsed from the midnight of January 1st 1970 in UTC coordinates. This timestamp is used in all *nix languages; probably you will never need to use a Unix timestamp in .NET, but if you have to interact with other application or sites, maybe built in PHP or Java, you will probably have to deal with it. But .NET doesn't have a method to convert a Unix timestamp to a DateTime and viceversa (or I didn't find it), so I had to implement it. static DateTime ConvertFromUnixTimestamp( double timestamp) { DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0, 0); return origin.AddSeconds(timestamp); } static double ConvertToUnixTimestamp(DateTime date) { DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0, 0); TimeSpan diff = date - origin; return Math.Floor(diff.TotalSeconds); } The first method converts a Unix timestamp to its DateTime equivalent, and the second takes a DateTime and convert it to the Unix time.
Why passwords have never been weaker—and crackers have never been stronger In late 2010, Sean Brooks received three e-mails over a span of 30 hours warning that his accounts on LinkedIn, Battle.net, and other popular websites were at risk. He was tempted to dismiss them as hoaxes—until he noticed they included specifics that weren't typical of mass-produced phishing scams. The e-mails said that his login credentials for various Gawker websites had been exposed by hackers who rooted the sites' servers, then bragged about it online; if Brooks used the same e-mail and password for other accounts, they would be compromised too. The warnings Brooks and millions of other people received that December weren't fabrications. "The danger of weak password habits is becoming increasingly well-recognized," said Brooks, who at the time blogged about the warnings as the Program Associate for the Center for Democracy and Technology. The ancient art of password cracking has advanced further in the past five years than it did in the previous several decades combined.
bobby-tables.com: A guide to preventing SQL injection Develop a Facebook application with Eclipse Galileo Getting started with Galileo Before you begin developing your Facebook SimpleRestaurantSearch application, you need to download and install the Galileo package of Eclipse (see Resources). In this section, you'll learn how to set it up. Downloading Galileo The Galileo package represents the next incremental release for Eclipse, and as such, means a new installation of the Eclipse platform. As with all Eclipse releases, there are a number of packages to choose from, depending upon your development needs. Download the Eclipse IDE for Java™ EE Developers version, as it has everything you need to develop and deploy a Facebook application. The Eclipse Web site provides a comparison chart, shown in Figure 1. Figure 1. When the download is complete, unzip the package where you want Eclipse to be installed, then double-click the Eclipse icon to run it. Figure 2. Setting up Tomcat in Eclipse Switch to Eclipse and open the server view (see Figure 3). Figure 3. Figure 4. Figure 5. Figure 6. Figure 7.
Three Archaic Backdoor Trojan Programs That Still Serve Great Pranks : Learn-Networking.com There are several things that come to mind when talk of the 1990′s comes around. Nirvana, vodka, cheap rap, and well- global warming wasn’t the subject of every conversation. But what really outshines the rest is the world of computing. Today these programs won’t make it past a cheap firewall. Back Orifice / Back Orifice 2000 Back Orifice, or BO, is one of the more common backdoor programs- and one of the most lethal of the bunch. Pictured above is Back Orifice Version 2000. Companies such as Symantec have taken steps in guarding computers against the program, as they have deemed it as dangerous. Back Orifice 2000 is being developed for Windows 95, Windows 98, Windows NT, Windows 2000, and Windows XP. Where Can I Download Back Orifice 2000? Back Orifice 2000 may be downloaded at the following location: Removal of Back Orifice 2000 will require that you edit your registry settings. How To Remove Back Orifice 2000 1. NetBus / Netbus 2.0 Pro 1. 1.
Best Practices for a Faster Web App with HTML5 While good, this article only tells part of the performance story. View html5rocks.com/features/performance for the whole picture of performance improvements. Introduction Much of HTML5 aims to deliver native browser support for components and techniques that we have achieved through JavaScript libraries thus far. Using these features, when present, can end up delivering a much faster experience for your users. Tip 1: Use web storage in place of cookies While cookies have been used to track unique user data for years, they have serious disadvantages. These two web storage objects can be used to persist user data on the clientside for the length of the session or indefinitely. Tip 2: Use CSS Transitions instead of JavaScript animation CSS Transitions give you an attractive visual transition between two states. By adding the toggling the classes of totheleft and totheright you can move the box around. Tip 3: Use client-side databases instead of server roundtrips No guarantees, though. :)