Older blog entries for bkode (starting at number 33)

where are the indian hacker's ? : Bosky's reply

Iwas reading this thread on ycombinator news, that went like :"Where are the Indian hackers? "

About indian hackers... ohh they're out there all right... they're out there.

indian cities like chennai ,bangalore,bombay ,pune and delhi have really making the most of the unconference,hacker & silicon valley culture that's slowly building up.

There have always been examples of startups with a combination of design and development teams across india and us can do . take zimbra, riya , slingshot ,et cetera, or the bigger and more established zoho and slideshare . but for the smaller ones, you need to keep your eyes glued to unconferences .

If you're flying down to india, you might want to subscribe to http://upcoming.yahoo.com/group/3556/ for the upcoming unconferences .

Its run by gud friend - and pythonista siddhi govindraj who for instance runs a one man project management s/w called silver stripe. Hey i think i might even talk more about the best hacker's in india i've had the privilege of ...uhmm adding to their feed subscriber list 8 )

ravi mohan, who just happened to port all of google director peter norvig's AI book code to java - is a one-man hacker working on nothing but the best of AI related work for the past few years.

swaroop ch , whose python hackery got him into adobe's flex team in india ,has written a book on python .he's one of the inventors of the ipod charger called ion.

gopal v , heads the open source project dotGNU,apart from contributions to native php code from yahoo's bangalore office is one of the most talented native code hacker's out there when it comes to the open source stack.

sriram krishnan, who 's story and 'curve to geekdom' is possibly the most enchanting, is a great example of a hacker getting noticed in the blogosphere, and all the way to microsoft.he nows works in the popfly team at redmond.

sidu ponnappa, is very 'agile' hacker with very diverse skill sets working in thoughtworks bangalore, apart from a very interesting mobile sideline project with a few friends called inactiv .

abdul qabiz , macromedia/adobe/yahoo/ and now hacker at Nanocasts r&d (called Mixercast ) is a hacker in the flash/flash space.

pvsundarram, who's addiction for designing scalable apps from native mvc to jabber & erlang ,to javascript hackery has taken this hacker to be invited for a number of startups in bangalore,bombay and chennai. he now works at zoomin ,and was my colleague at tutorvista where we worked on the whiteboard & chat collaboration product.

balakumar muthu , ganesh app for robotics, labsji for smart gadgets, anantha narasimhan , antano solari,vipin from au-kbc,.... i could go on . (maybe u can suggest more ?)

Heck, even i' ve quit and now finally taken time off to hack up a few open source projects, apart from bootstrapping for the startup i'm co-founding . (Note: this is where i hint that ppl interested in joined me can ping me ;) )

one thing about all of them is that they're all got a very diverese skillset,and can express themselves verry well.i could go on with more people i know..hmm wish i could export my google opml .... The day of reckoning will however be when the first ycombinator with indian hacker's . Grab a couple of the names from above and make a team - now that my friends will be history in the making 8 )

But anyways - in the end we've can't say that we don't have the hacker's right now . i think it's the "getting it to market" ability that we are still perfecting. and part of that has to do with the eco-system for startups and entrepreneurs...

The good news is that that's exactly what is fortunately getting better ... in fact when i read "icon : steve jobs" a few quarters ago - i could'nt help but notice how lucky i was to be in india right now. Very much reminiscent of the hacker culture from the 1980's ...

Can't wait to get started 8 )

Keep Clicking,

Bhasker V Kode
Hacker, and proud to be indian... 8 )

PS: i wish someone updated the nice compilation of indian startups logo's

UPDATE1: hey I just heard about Yahoo 's HackDay India . well that might not be too bad a place to find 200 odd hackers assemble together 8 )

Technorati Tags: hackers, hack,hackdayIndia, india, indian, startups, bhasker, bosky

The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-09-14 07:28:16 from Bosky says ... the web log of Bhasker V K

13 Sep 2007 (updated 29 Sep 2007 at 19:11 UTC) »

where are the indian hacker's ? : Bosky's reply

I was reading this thread on ycombinator news, that went :"Where are the Indian hackers? "

About indian hackers... ohh they're out there all right... they're out there.

indian cities like chennai ,bangalore,bombay ,pune and delhi have really making the most of the unconference,hacker & silicon valley culture that's slowly building up.

There have always been examples of startups with a combination of design and development teams across india and us can do . take zimbra, riya , slingshot ,et cetera, or the bigger and more established zoho and slideshare . but for the smaller ones, you need to keep your eyes glued to unconferences .

If you're flying down to india, you might want to subscribe to http://upcoming.yahoo.com/group/3556/ for the upcoming unconferences .

Its run by gud friend - and pythonista siddhi govindraj who for instance runs a one man project management s/w called silver stripe. Hey i think i might even talk more about the best hacker's in india i've had the privilege of ...uhmm adding to their feed subscriber list 8 )

ravi mohan, who just happened to port all of google director peter norvig's AI book code to java - is a one-man hacker working on nothing but the best of AI related work for the past few years.

swaroop ch , whose python hackery got him into adobe's flex team in india ,has written a book on python .he's one of the inventors of the ipod charger called ion.

gopal v , heads the open source project dotGNU,apart from contributions to native php code from yahoo's bangalore office is one of the most talented native code hacker's out there when it comes to the open source stack.

sriram krishnan, who 's story and 'curve to geekdom' is possibly the most enchanting, is a great example of a hacker getting noticed in the blogosphere, and all the way to microsoft.he nows works in the popfly team at redmond.

sidu ponnappa, is very 'agile' hacker with very diverse skill sets working in thoughtworks bangalore, apart from a very interesting mobile sideline project with a few friends called inactiv .

abdul qabiz , macromedia/adobe/yahoo/ and now hacker at Nanocasts r&d (called Mixercast ) is a hacker in the flash/flash space.

pvsundarram, who's addiction for designing scalable apps from native mvc to jabber & erlang ,to javascript hackery has taken this hacker to be invited for a number of startups in bangalore,bombay and chennai. he now works at zoomin ,and was my colleague at tutorvista where we worked on the whiteboard & chat collaboration product.

balakumar muthu - along time java based hacker, ganesh app for robotics and c++, labsji for smart gadgets, anantha narasimhan ,Seshu Karthick for web2.0 , the brilliant bunch of hackers at tachyon , antano solar john for AI , vipin from au-kbc for networking , .... i could go on . (maybe u can suggest more ?)

Heck, even i' ve quit and now finally taken time off to hack up a few open source projects, apart from bootstrapping for the startup i'm co-founding . (Note: this is where i hint that ppl interested in joined me can ping me ;) )

one thing about all of them is that they're all got a very diverese skillset,and can express themselves verry well.i could go on with more people i know..hmm wish i could export my google opml .... The day of reckoning will however be when the first ycombinator with indian hacker's . Grab a couple of the names from above and make a team - now that my friends will be history in the making 8 )

But anyways - in the end we've can't say that we don't have the hacker's right now . i think it's the "getting it to market" ability that we are still perfecting. and part of that has to do with the eco-system for startups and entrepreneurs...

The good news is that that's exactly what is fortunately getting better ... in fact when i read "icon : steve jobs" a few quarters ago - i could'nt help but notice how lucky i was to be in india right now. Very much reminiscent of the hacker culture from the 1980's ...

Can't wait to get started 8 )

Keep Clicking,

Bhasker V Kode
Hacker, and proud to be indian... 8 )

PS: i wish someone updated the nice compilation of indian startups logo's

UPDATE1: hey I just heard about Yahoo 's HackDay India . well that might not be too bad a place to find 200 odd hackers assemble together 8 )

Technorati Tags: hackers, hack,hackdayIndia, india, indian, startups, bhasker, bosky

The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-09-13 17:49:00 (Updated 2007-09-29 17:57:13) from Bosky

WebRunner Vs Adobe AIR shootout : My views

I have been keeping a causal watch of what Mark Finkle has been upto with WebRunner. And this post is in reference to the the debate between the warring camps, mark finkle from mozilla,working on WebRunner and Ryan Stewart with Adobe, talking about Adobe AIR. They have been exchanging some thoughts, I thought i would as well.



Here it is ...









webrunner adobe air


  • having site specific browsers seemed like a gud idea.

  • I dont want to open stuff in new tabs . How about having a different desktop Firefox Instance (FYI:i dint say 'process') for every SSB.

  • no "virtual machine"ish sort of setup, but simply is Firefox-tweaked and called WebRunner as the run-time for apps

  • target users: people who like a seperate webrunner for each site

  • upside : (yet to find any !)

  • downside & what i would have liked to see : why on earth would i want something that gives absolutely no value to me as a developer !!! if webrunner concentrated on building a class library with decent system access documentation(sorry to say,i still dont find the mozilla docs on these half as useful or readable compared to say flex docs). forget even building your own, atleast i shud have interfaces in webrunner for all possible classes and then plug'n'play with js libraries like jquery /dojo or hell make a new project on mozilla just to create just the plug'n'play interfaces for webrunner first,and maybe a decent js api for creating,accessing SVG. It really pisses me off every time webrunner is compared to adobe air. its beyond comparison, mozilla and webrunner cannot be sit back on the laurels of firefox for the success of webrunner. instead it shud actually code a class library that can be shipped with webrunners or ssb's or whatever 'schemes' Mark Finkle has on his mind. Coz personally webrunner does'nt even seem like an app worth talking just because it's stripping off the firefox browser. The first Webrunner was prototyped in 06, and not one new feature that was'nt courtesy of firefox! That's sad even compared to the progress made by silverlight - a late entrant! Webrunner, needs to innovate as well, and quick - if it wants to really play with in the big league !




  • having flash apps work for the desktop seems like a gud idea.

  • I don't want to open a browser for every flash app. How about having a single desktop run-time for all adobe air apps

  • "Virtual Machine"ish Adobe AIR is the run-time for my apps

  • target users: people who like a seperate webrunner for each site

  • downside: another process clobbering with my cpu memory if it becomes popular !

  • upside : adobe has effectively solved a major porting problem by allowing flash developers to write in a language they prefer, and access the beautiful and growing class libraries for everything from system ,to math,to vector graphics.

  • what i would have liked to see : just keep it going ... and don't bloat the runtime size too quickly!



By the way,i'm not biased towards any one side (or the third - silverlight 8 ) ), but have always respected both mozilla, firefox and everyone involved ; as well as the phenomenal innovation shown by adobe with flex and apollo.


Keep Clicking,
Bhasker V Kode
The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-08-22 12:39:43 from Bosky says ... the web log of Bhasker V K

Updates from Indian Independence Day ,2007


Updates
  1. Revamped my personal web site over at "Bhaskervk.com"
  2. Added a new comic series : Screenshots, by Bosky (thnx sagaro for the trackback)
  3. Reading up on a few interesting mailing lists over at flex_india google group, hdiidc , and barcamp_Bangalore (both yahoo groups) .
  4. Reading up on a lot of interesting indian techie's blogs. (speaking of which , it would be great to be able to have a sumup of indian geek's blog posts)
  5. Contemplating on lot of ideas on, ways to improve the Returnable project, reading up the parse trees while i'm half way through compiling x to y , whats next for startups, learning and the idea of higher education abroad, and the future... hmmm
Amidst some domain renewal and hosting provider hassles, ended up continuing with square brothers . They happen to host the university results, and have not problems with them personally. Just got pissed when bhaskervk.com showed up with the default taken sort of mesage, since i delayed my payment by a day since they icici bank could'nt confirm them as a payee. Most of the times, you should'nt have any problems , but now and then you do have certain glitches and usability problems. Like long periods of 'wait while we update' lasting days for even stuff like changing numbers, or that it should probably enter the 'hall of shame' for not supporting firefox most of the time and promptly proposing ie. Not that i have against ie, but as india's biggest private bank, lack of support for atlllleast A-grade browsers is an absolute show-stopper.

I also added a little comic strip called 'screenshots', for all the vetti time that i have on my hands. Plus its a great outlet for some artisitc creativity. check it out some time. The image you see at the top of this post ,is the independence day special (#5) .


Having just completed working on a vector-graphic product myself, i found the thread on the flex india user group about 2d,3d advancements in flex particularly interesting. Check out thus awesome demo of second-life like capabilities within flex by a company called outsmart and you'll know what i'm talking about.

If you find this interesting, you will definitely find the stuff over at Aviary, compelling - though it does a little over ambitious.More than 14 online tools of varying complexity: an image editor, color swatch generator, pattern generator, vector-based editor, 3D modeler, audio editor, music generator, video editor, desktop publishing tool, word processor, painting simulator, custom image product creator, photo analyzer, and file system to store it all on. phew ! Check out their well updated and informative blog as well.

Google, btw has been talking about a special gift for india, celebrating it's i-day. wonder if it has anything to do with a mapping /google earth related.

Coming to Returnable, i've seen a couple of similiar prototpes springing up . First i saw a israeli startup called koncara getting its second round of funding with in-text advertising. Returnable can do this, but now just ads but also in-text content on tooltips at different events .Secondly, the purple -include library profiled by ajaxian. While they have used src,and dont have support for events, returnable supports the three events : onhover,onclick and onload. Moreover, Returnable uses the href (forward compatible for all elements in the next version of xhtml5) and users can get the content either in-text OR as a tooltip ! PVS, my c0-developer at Returnable, even managed to get a returnable element tooltip inside the title of a blogger post !




I'm glad the Returnable Project, has taken a lead in this pioneering end-user programming methodology ,in using their inherent knowledge of URL's to expose a simnple HTML api to spawn intuitive behaviour on the web. Check out more on The Returnable Project , and the project site for more information.

So many things to read & write about , so little time ! btw, does anyone know of any good blogs to get lil tidbits like what ive posted above ? I'd love to check them out ! 8 )

Keep Clicking,
Bhasker V K

Technorati Tags: bhasker, bosky, screenshots, flex_india, independence, purple-include, returnable, vector, graphics

The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-08-21 13:34:24 from Bosky says ... the web log of Bhasker V K

16 Aug 2007 (updated 21 Aug 2007 at 14:12 UTC) »

Updates from Indian Independence Day ,2007


Updates
  1. Revamped my personal web site over at "Bhaskervk.com"
  2. Added a new comic series : Screenshots, by Bosky (thnx sagaro for the trackback)
  3. Reading up on a few interesting mailing lists over at flex_india google group, hdiidc , and barcamp_Bangalore (both yahoo groups) .
  4. Reading up on a lot of interesting indian techie's blogs. (speaking of which , it would be great to be able to have a sumup of indian geek's blog posts)
  5. Contemplating on lot of ideas on, ways to improve the Returnable project, reading up the parse trees while i'm half way through compiling x to y , whats next for startups, learning and the idea of higher education abroad, and the future... hmmm
Amidst some domain renewal and hosting provider hassles, ended up continuing with square brothers . They happen to host the university results, and have not problems with them personally. Just got pissed when bhaskervk.com showed up with the default taken sort of mesage, since i delayed my payment by a day since they icici bank could'nt confirm them as a payee. Most of the times, you should'nt have any problems , but now and then you do have certain glitches and usability problems. Like long periods of 'wait while we update' lasting days for even stuff like changing numbers, or that it should probably enter the 'hall of shame' for not supporting firefox most of the time and promptly proposing ie. Not that i have against ie, but as india's biggest private bank, lack of support for atlllleast A-grade browsers is an absolute show-stopper.

I also added a little comic strip called 'screenshots', for all the vetti time that i have on my hands. Plus its a great outlet for some artisitc creativity. check it out some time. The image you see at the top of this post ,is the independence day special (#5) .


Having just completed working on a vector-graphic product myself, i found the thread on the flex india user group about 2d,3d advancements in flex particularly interesting. Check out thus awesome demo of second-life like capabilities within flex by a company called outsmart and you'll know what i'm talking about.

If you find this interesting, you will definitely find the stuff over at Aviary, compelling - though it does a little over ambitious.More than 14 online tools of varying complexity: an image editor, color swatch generator, pattern generator, vector-based editor, 3D modeler, audio editor, music generator, video editor, desktop publishing tool, word processor, painting simulator, custom image product creator, photo analyzer, and file system to store it all on. phew ! Check out their well updated and informative blog as well.

Google, btw has been talking about a special gift for india, celebrating it's i-day. wonder if it has anything to do with a mapping /google earth related.

Coming to Returnable, i've seen a couple of similiar prototpes springing up . First i saw a israeli startup called koncara getting its second round of funding with in-text advertising. Returnable can do this, but now just ads but also in-text content on tooltips at different events .Secondly, the purple -include library profiled by ajaxian. While they have used src,and dont have support for events, returnable supports the three events : onhover,onclick and onload. Moreover, Returnable uses the href (forward compatible for all elements in the next version of xhtml5) and users can get the content either in-text OR as a tooltip ! PVS, my c0-developer at Returnable, even managed to get a returnable element tooltip inside the title of a blogger post !




I'm glad the Returnable Project, has taken a lead in this pioneering end-user programming methodology ,in using their inherent knowledge of URL's to expose a simnple HTML api to spawn intuitive behaviour on the web. Check out more on The Returnable Project , and the project site for more information.

So many things to read & write about , so little time ! btw, does anyone know of any good blogs to get lil tidbits like what ive posted above ? I'd love to check them out ! 8 )

Keep Clicking,
Bhasker V K

Technorati Tags: bhasker, bosky, screenshots, flex_india, independence, purple-include, returnable, vector, graphics

The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-08-16 18:41:00 (Updated 2007-08-21 13:34:24) from Bosky says ... the web log of Bhasker V K

15 Aug 2007 (updated 22 Aug 2007 at 13:09 UTC) »

WebRunner Vs Adobe AIR shootout : My views

I have been keeping a causal watch of what Mark Finkle has been upto with WebRunner. And this post is in reference to the the debate between the warring camps, mark finkle from mozilla,working on WebRunner and Ryan Stewart with Adobe, talking about Adobe AIR. They have been exchanging some thoughts, I thought i would as well.



Here it is ...









webrunner adobe air


  • having site specific browsers seemed like a gud idea.

  • I dont want to open stuff in new tabs . How about having a different desktop Firefox Instance (FYI:i dint say 'process') for every SSB.

  • no "virtual machine"ish sort of setup, but simply is Firefox-tweaked and called WebRunner as the run-time for apps

  • target users: people who like a seperate webrunner for each site

  • upside : (yet to find any !)

  • downside & what i would have liked to see : why on earth would i want something that gives absolutely no value to me as a developer !!! if webrunner concentrated on building a class library with decent system access documentation(sorry to say,i still dont find the mozilla docs on these half as useful or readable compared to say flex docs). forget even building your own, atleast i shud have interfaces in webrunner for all possible classes and then plug'n'play with js libraries like jquery /dojo or hell make a new project on mozilla just to create just the plug'n'play interfaces for webrunner first,and maybe a decent js api for creating,accessing SVG. It really pisses me off every time webrunner is compared to adobe air. its beyond comparison, mozilla and webrunner cannot be sit back on the laurels of firefox for the success of webrunner. instead it shud actually code a class library that can be shipped with webrunners or ssb's or whatever 'schemes' Mark Finkle has on his mind. Coz personally webrunner does'nt even seem like an app worth talking just because it's stripping off the firefox browser. The first Webrunner was prototyped in 06, and not one new feature that was'nt courtesy of firefox! That's sad even compared to the progress made by silverlight - a late entrant! Webrunner, needs to innovate as well, and quick - if it wants to really play with in the big league !




  • having flash apps work for the desktop seems like a gud idea.

  • I don't want to open a browser for every flash app. How about having a single desktop run-time for all adobe air apps

  • "Virtual Machine"ish Adobe AIR is the run-time for my apps

  • target users: people who like a seperate webrunner for each site

  • downside: another process clobbering with my cpu memory if it becomes popular !

  • upside : adobe has effectively solved a major porting problem by allowing flash developers to write in a language they prefer, and access the beautiful and growing class libraries for everything from system ,to math,to vector graphics.

  • what i would have liked to see : just keep it going ... and don't bloat the runtime size too quickly!



By the way,i'm not biased towards any one side (or the third - silverlight 8 ) ), but have always respected both mozilla, firefox and everyone involved ; as well as the phenomenal innovation shown by adobe with flex and apollo.


Keep Clicking,
Bhasker V Kode
The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-08-15 12:55:00 (Updated 2007-08-22 12:39:43) from Bosky says........the web log of Bhasker V K

16 Jul 2007 (updated 21 Aug 2007 at 14:12 UTC) »

Export excel sheet data to wiki's and html - Introducing ExcelKoder

The Evening of Junly 16th,2007

Guess ,i could'nt wait for the hackernight/compilers & interpreters collective at barcamp Bangalore happening in a few weeks

Here's a small utility i wrote one evening,while figuring out how to share plans for scheduling of barcamp bangalore. Geeky part, is that everything from css,to js and html written in this demo was done in good ol' notepad 8 )

Here's the link to the ExcelKoder demo . Might even host it up as a google project .hmmm.

Keep Clicking,
Bhasker V Kode


Technorati Tags: javascript, bcb4, barcampbangalore, hack, excel, wiki, export,

The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-07-16 17:27:00 (Updated 2007-07-16 18:04:19) from Bosky says........the web log of Bhasker V K

8 Jul 2007 (updated 21 Aug 2007 at 14:12 UTC) »

Indian Independent music is ALIVE and kicking !!

When i first saw sites like radioverve and gigpad for indian independent music spring up , I wondered who would be creating this kind of music from india . Well, today as a music lover and self-taught guitarist , i'm more than convinced at the amazing changes and advances happening in the indian independent music scene.

Take for instance - my good friend ,Prakash Hariharan has been playing the mandolin for 10 odd years. Sometime in college few years back, he got himself a new acoustic guitar ,and an electric one . And started playing amazing leads on both that led to him drifting towards fusion and little jazz. He and other friends from college like Raghu (Bass,vocals, composition) ,Karthik(vocals,guitar)& Deepak (drums) all from SVCE , have been making demos and jingles and performing at a semi-professional level for some time now .My gf was judged best singer at an inter-college event,and sings for the college band , and i know how she really enjoyed every practice session they had, and admits - its all hard work and patience. She should know - she's been learning classical indian music for the past 15 years ,Prakash for 10 odd years on the mandolin started off classical himself. Some like the pianist junior ,have even made it big in the band called Oxygen. Great to see them win gigs ,be it a fusion at iit,iim or the other events in south india. Hey ,incidently I had a great time myself playing the guitar for while in the western music band. I still do enjoy each minute i spend everyday with my custom made spanish guitar 8 )

Whats new though , is that unlike anyone else i know or anytime before ... Prakash has put away a nice job at a software company to pursue his dream . He joined a radio station to learn production , while spinning his own compositions in his home studio . recording and jamming with other buddies . He's been showing his demo's to people ,even to Guitar Prasanna and hopes to one day join the Berkely school of music . Really awesome to see people passionate and pursuing what they love 8 )

On the same lines, I was really stunned when i heard the awesome potential in indian inde music 8 ) ( songs from red cube, indus creed especially ) .Lot of indian independent music happening ....

Check out

  1. http://www.split-magazine.com/downloads
  2. http://split-magazine.com/radio
  3. radioverve
  4. gigPad
Prakash puts some of his music over at his blog and runs his own podcasts with his music , and I'll ask him to update news on his new band in bangalore .

Here's a demo of Red Cube's single called "some where in the corner".

Cheers to the music,guitars and the free world ! 8 )

Update : Also on similiar lines, is tempostand.com . And here's cheers to Oritus, for their awesome song and now my personal fav indian inde ballad - 'Many a Mile' - by Oriitus.
Keep Clicking,
Bhasker

Technorati Tags: indian, indie, music, pkharry, radioverve, redcube, split,tempostand, oritus,svce, gigpad,bosky101

The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-07-04 06:44:00 (Updated 2007-07-16 11:17:54) from Bosky says........the web log of Bhasker V K

8 Jul 2007 (updated 21 Aug 2007 at 14:12 UTC) »

Top 5 MUST READ Javascript Resources

Some MUST READ javascript links that I thought i'd share.

Excellent Code style tutorial , with easily undertandable code snippets ( Bad Vs Ok examples)
=>From Mozilla, http://wiki.mozilla.org/JavaScript:SpiderMonkey:Coding_Style

Best example of well documented code
=> The YUI Javascript library, start off with reading http://developer.yahoo.com/yui/docs/YAHOO.js.html

Excellent Javascript beginner tutorials
=> from Javascript Guru- Douglas Crockford's stable
===> http://javascript.crockford.com/survey.html
===> http://javascript.crockford.com/code.html

Best ever Advanced javascript & Optimization tutorial
=> from Opera, and probably the most understated article on javascript to date. http://dev.opera.com/articles/view/efficient-javascript/?page=all

Excellent Advanced javascript tutorials
=> http://www.quirksmode.org/js/contents.html

Keep Clicking,
Bhasker V Kode

Technorati Tags: javascript, js, programming, tutorials, bosky101, kode

The Returnable Project - Whats your return type ?...Enabling in-text content into your blog

Syndicated 2007-06-27 09:46:00 (Updated 2007-06-27 10:11:46) from Bosky says........the web log of Bhasker V K

8 Jul 2007 (updated 21 Aug 2007 at 14:12 UTC) »

Introducing toXmlString : Javascript XML DOM to String Conversion

I was surprised to find no function to convert a javascript xml dom object to a string. I did find an upcoming feature added in Javascript 1.6 by the cool folks at Mozilla, but it really did not cater to xml dom objects already created /accessable by javascript.

I've seen PHP's PEAR ,and XML_Parser classes and often like to take part of the xml to resend/reuse later in my application. So since I could'nt find one , I wrote one 8 ) !

toXmlString(xmlObj) : string

/**
* @author Bhasker V Kode
* @name toXmlString
* @description Functional Style Method to Generate XML String from any xml DOMobject .
* @param s (String ) [optional for usage]
* @language Javascript
* @date 25th May ,2007
*/



  1. function toXmlString(xy,s){
  2. var str = (s==undefined)?'' : s;
  3. if(xy.nodeValue==undefined){
  4. //ur a big moma
  5. var multiStr=[],temp='';
  6. for(var i=0;i
  7. // each repeasted node
  8. if(xy.childNodes[i].nodeName.toString().indexOf('#')
  9. var nodeNameStart ='
  10. var nodeNameEnd ='';
  11. var attsStr=' ',atts = xy.childNodes[i].attributes;
  12. if(atts!=undefined){
  13. for(var j=0;j
  14. attsStr+=atts[j].nodeName+'="'+ atts[j].firstChild.nodeValue+'"';
  15. }
  16. }
  17. temp = nodeNameStart + ((attsStr==' ')?'':attsStr ) +'>'+toXmlString(xy.childNodes[i],str) + nodeNameEnd;
  18. multiStr.push(temp);
  19. str = temp;
  20. }else{
  21. //node Value
  22. str = toXmlString(xy.childNodes[i],str);
  23. multiStr.push(str);
  24. }
  25. }
  26. //end of for loop,time to untangle our results in order of appearance
  27. str = multiStr.join('');
  28. }else{
  29. return xy.nodeValue;
  30. }
  31. return str;
  32. }



Usage

var str = toXmlString(xmlDomObj) ;

Demo - http://bhaskervk.com/libraries/reusable/demos/xml.php