Tech News
Wednesday, August 31, 2011
Wednesday, August 24, 2011
Sunday, August 21, 2011
Thursday, August 11, 2011
A beginner's guide to caching data in Drupal 7 | Lullabot
"Building complicated, dynamic content in Drupal is easy, but it can come at a price. A lot of the stuff that makes a site engaging can spell 'performance nightmare' under heavy load, thrashing the database to perform complex queries and expensive calculations every time a user looks at a node or loads a particular page.
One solution is to turn on page caching on Drupal's performance options administration page. That speeds things up for anonymous users by caching the output of each page, greatly reducing the number of DB queries needed when they hit the site. That doesn't help with logged in users, however: because page level caching is an all-or-nothing affair, it only works for the standardized, always-the-same view that anonymous users see when they arrive.
Eventually there comes a time when you have to dig in to your code, identify the database access hot spots, and add caching yourself. Fortunately, Drupal's built-in caching APIs and some simple guidelines can make that task easy."
details on : A beginner's guide to caching data in Drupal 7 | Lullabot:
One solution is to turn on page caching on Drupal's performance options administration page. That speeds things up for anonymous users by caching the output of each page, greatly reducing the number of DB queries needed when they hit the site. That doesn't help with logged in users, however: because page level caching is an all-or-nothing affair, it only works for the standardized, always-the-same view that anonymous users see when they arrive.
Eventually there comes a time when you have to dig in to your code, identify the database access hot spots, and add caching yourself. Fortunately, Drupal's built-in caching APIs and some simple guidelines can make that task easy."
details on : A beginner's guide to caching data in Drupal 7 | Lullabot:
Monday, August 8, 2011
Computable Document Format for Interactive Content
"Today's online documents are like yesterday's paper—flat, lifeless, inactive. Instead, the Computable Document Format (CDF) puts easy-to-author interactivity at its core, empowering readers to drive content and generate results live.
Launched by the Wolfram Group, the CDF standard is a computation-powered knowledge container—as everyday as a document, but as interactive as an app.
Adopting CDF gives ideas a broad communication pipeline—accelerating research, education, technical development, and progress."
From:Computable Document Format for Interactive Content
Launched by the Wolfram Group, the CDF standard is a computation-powered knowledge container—as everyday as a document, but as interactive as an app.
Adopting CDF gives ideas a broad communication pipeline—accelerating research, education, technical development, and progress."
From:Computable Document Format for Interactive Content
Sunday, August 7, 2011
Friday, August 5, 2011
Reverse Ajax, Part 2: WebSockets
"WebSockets, which emerged in HTML5, is a much more recent Reverse Ajax technique than Comet. WebSockets enables bi-directional, full-duplex communication channels, and many browsers (Firefox, Google Chrome, and Safari) already support it. The connection is opened through an HTTP request, called a WebSockets handshake, with some special headers. The connection is kept alive, and you can write and receive data in JavaScript as if you were using a raw TCP socket.
A WebSocket URL is started by typing ws:// or wss:// (on SSL).
The timeline in Figure 1 shows communication using WebSockets. An HTTP handshake is sent to the server with specific headers. Then, a type of socket is made available either on the server or on the client side in JavaScript. This socket can be used to asynchronously receive data through an event handler."
for Detaila: see Reverse Ajax, Part 2: WebSockets:
A WebSocket URL is started by typing ws:// or wss:// (on SSL).
The timeline in Figure 1 shows communication using WebSockets. An HTTP handshake is sent to the server with specific headers. Then, a type of socket is made available either on the server or on the client side in JavaScript. This socket can be used to asynchronously receive data through an event handler."
for Detaila: see Reverse Ajax, Part 2: WebSockets:
Create GPS-enabling web applications
"Web sites that provide services based on your geographic location are quite popular on the Internet. Sites such as Foursquare, Yelp, and Google Maps all make use of where you are to give you information relevant to you right in that location. You can easily get someone’s location and give them information based on that locale."
for details: Create GPS-enabling web applications:
for details: Create GPS-enabling web applications:
Subscribe to:
Posts (Atom)