Home Notes Web development
Pranshuarya.com

Sponsored Links


Development
jQuery and WordPress E-mail
Sunday, 01 March 2009 19:53
I'm impressed with the way jQuery integrates into WordPress.  It really helps that WordPress allows JavaScript in individual posts.  Using a script found here, it only took me a few minutes to integrate a mouseover image preview on my blog (hover over the hyperlink "trail").
 
Simple way to speed up your site E-mail
Wednesday, 28 January 2009 09:34

From this site I discovered a very simple way to speed up the loading of my website.

Between the </head> and <body> tags, just add:

 
<?php 
flush();
?>
 

That's it!  What this does is "It allows you to send your partially ready HTML response to the browser so that the browser can start fetching components while your backend is busy with the rest of the HTML page."

 
IE6 and images with transparency E-mail
Monday, 12 January 2009 17:18
I have nothing to say here myself, because everything's been said wonderfully in this article.  Basically, avoid using IE's AlphaImageLoader fix, and use PNG8 (PNG 8-bit) whenever possible.  It degrades nicely to a GIF with transparency in IE6, unlike 24- and 36-bit PNGs.
 
Reset CSS E-mail
Monday, 12 January 2009 16:45

I was reading more on resetting CSS, like with YUI Reset CSS, and I was thinking that it just seems like a bit of overkill to break everything down and rebuild it from scratch.  Or maybe it's just that I don't see the particular benefits of it yet because of the projects I've worked on, including my own.

This article mirrors nicely my own view on resetting CSS, that it feels like it's increasing the amount of overall work you have to do for a negligible gain.  Like this author (Jonathan Snook), it makes more sense to me to specify a small second stylesheet for browser-specific quirks, instead of spending extra time building everything from scratch.

 
ExpressionEngine / Developing .NET E-mail
Friday, 09 January 2009 16:52

I've been coming across mention of the CMS platform ExpressionEngine frequently lately, and considering that it's not open-source or free, methinks that it must be a heck of a product to garner so much attention.  It is PHP/MySQL-based, like most of the other CMS systems out there, which makes me all the more curious about why it's so much better than the other options.

My personal interest is greater in Drupal right now, which will be the next system I try out.  One good thing is that ExpressionEngine does have a free limited version for a taste of what the paid version offers.


A question that has been on my mind is how Microsoft plans to promote .NET when all the development products are very expensive compared to open-source PHP/MySQL platform and tools.  Enter Visual Web Developer Express Edition.  It's a free application, part of Visual Studio Express Edition (also free), geared toward .NET development.  It seems Microsoft also has their own mashups product, similar to Yahoo! pipes, called Popfly.

Here is a good comparison of how Visual Web Developer and Expression Web, which I have been using for a while, compare.

 
p()thesis E-mail
Wednesday, 24 December 2008 05:18

I decided it was time to give pthesis.com its own homepage.

I wanted it to be simple and functional, with an unobstrusive pop-up for the portfolio.  I turned to jQuery, which didn't let me down.

First I placed all the portfolio data in a database (before it was just plain HTML on this site).  From there I used Dreamweaver's Developer's Toolbox to create a PHP script to convert the query data into XML, which happens live whenever the site is loaded, so I don't have to manually update anything when I add new sites to my portfolio.  I was going to use Adobe Spry for AJAX in Dreamweaver, but I found it easier to just hand-code in jQuery (plus jQuery is a lot smaller in size).

I could have converted the query data into HTML or even JSON, but XML seemed like the safest choice because of its portability and easy transferability.


I've given the site more functionality, courtsey of jQuery and PHP/MySQL.  Now the sites I've worked on can be filtered by category.  A useful site I found to compress the JavaScript code is here.  It works by removing comments, whitespace, and "other unnecessary characters" from the code.

 
Textpattern E-mail
Thursday, 18 December 2008 19:29

I found yet another PHP/MySQL-based CMS platform to experiment with.  Textpattern is a small and light system, which I was looking for to implement an idea I had just this morning.  So far here is what I've got.

I used Open Source CMS to narrow the list of CMS systems down to three: Textpattern, Nucleus CMS, and Dotclear.  I wanted something barebones, since I'm going to be dealing with mostly text on this site.  I found that the biggest deciding factor - the one I used to rule out all the other options - was documentation.  If a system didn't seem well-documented I would probably have a hard time figuring out its terminology, which I didn't want to waste time on.  Of the bunch these three seemed the best-documented.

 
Flex vs. AJAX E-mail
Tuesday, 16 December 2008 11:16

Came across a simple comparison between Flex and AJAX in a whitepaper here.  I've heard mention of Flex flying around but this article gave a quick two-sentence introduction to what it is.  Some features that stuck out for me, of each technology:

Flex:

  • Browser-independent (like Flash, since it runs in Flash player)
  • Less code than AJAX/JavaScript

AJAX:

  • SEO friendlier
  • Better native HTML support
 
«StartPrev123456NextEnd»

Page 4 of 6