MadeByPi® Blog
I Love Charles….
I do - and if you do any web development then you will too.
Not this charles.
No not that one, this "Charles" is a curiosly named java based HTTP proxy which has become my personal favourite tool for debugging and testing on the web. Its particularly brilliant for debugging and testing flash and xmlhttp / ajax work.
Download it from the developers website and you soon will love charles too. I am thinking of having "I love charles" badges and t-shirts made with the slogan and the applications logo on it. The only thing holding me back is because the logo for the application is a picture of a jug, not that I dont love the jug, I just dont think anyone else will and I dont want to be the only one wearing the said badges.
I even love the jug.
So anyway heres my top 8 reasons to love Charles.....
1. You can see what files your web content / page / flash application / ajax application is downloading.
The most obvious use of Charles is just to simply see what assets, data and content your page is downloading. Simply fire up the application and you can see exactly what content is being pulled in. It has two views a tree based ( my favourite) and a sequential view. You can instantly spot 404's & 500's and fix them, no more staring at trace outputs, log files or consoles.
Of course you can do all this with firebug and a few other plug-ins but theres more....
2. You can use it in any browser/ application
It works out of the box with Internet Explorer, Chrome, Safari and Firefox ( if download a plugin from the developers site) . Most windows applications will use it by default but otherwise you only have to set the proxy configuration up and bingo it works.
I don't work on a Mac much but the designers and developers at MadeByPi also love Charles too so it cant be that hard to use....
3. Its cross platform...
Its java based so it runs on Windows / Mac / Linux
4. You can test without uploading your content
You know the situation, you have a bug which only occurs on your production enviroment. You can use Charles' "map local" feature to inject a local swf / xml / js file into the content of your live site. Simply enter the URL if the file on the site and the path to the new version on your harddrive and Charles will use your local version.
5. Test your site with limited / slow bandwdith
Charles has a throttling feature which allows you to simulate various bandwidth speeds.
6. You can quickly mirror down content.
Great if you need to grab the content / assets of a site for your local development version - or even just download content when you dont have ftp access and need to pull down content on behalf of your client.
7. Its got a great search function
Need to correct a content or configuration issue in your client code. Just search for that piece of text, image URL, configuration error in the XML / JSON files being pulled in from your site. Charles will quickly show you which files its being pulled from
8. Theres lots more I havent mentioned
Map Local, Map Remote, Rewrite, Parsing of Flash Headers, Image Preview, JSON rendering, XML rendering.
If you love Charles too then please leave a comment!
11 Responses to “I Love Charles….”
-
Mikef Says:March 11th, 2009 at 10:32 am
I am also a member of the Charles fan-club.
-
diamondTearz Says:May 26th, 2009 at 7:10 pm
I admit it…I love Charles and the weird vase/jug,floral badge too.
-
Pachi Says:July 29th, 2009 at 12:21 am
I have started using charles to verify the Query String and what is getting fired and what is getting pulled.
I am a big fan of Charles Proxy. -
diamondTearz Says:October 13th, 2009 at 3:09 pm
The new features in the update like right-click to map local are great!
-
paull Says:October 13th, 2009 at 3:14 pm
I hadnt seen that feature – cheers!
There is a bug when you post a full URL into the host field of Map Local and Remote. It used to seperate the URL into the right fields (host / path) etc, now it just reports a validation error. -
Zorba Says:November 29th, 2009 at 1:18 am
Can you put together a custom HTTP request and submit it using Charles (i.e. a bit like HTTP Debugger’s submitter option) ?
-
Games-Game Says:December 7th, 2009 at 8:00 pm
Wow very nice blog man .. and usefull information on it.
-
Nonsecure items in IE (Solved!) | MadeByPi® Blog Says:January 19th, 2010 at 11:51 am
[...] of all we used Charles to map locally and section by section removed scripts until we no longer got the popup, we soon [...]
-
Ramesh Sahu Says:February 19th, 2010 at 6:43 am
I am also a member of the Charles fan-club.
-
hamish Says:August 11th, 2010 at 1:12 pm
i also love charles
-
Satyadeep K Says:December 28th, 2010 at 3:58 pm
I very much love charles. I use it on ubuntu significantly to help my applications through connect to internet through an external proxy of our institute which requires a login.
Leave a Reply