Currently I’m working on an abstraction layer for the Google Maps API, this is purely written in Javascript, allowing any language to produce JSON objects and pass them quite seemlessly onto a Google Map. Originally this was planned to be able to be used across maps APIs (Virtual Earth, Yahoo Maps) but has descended into just being Google Maps – to begin with anyway. Currently the plan is to provide a set of handlers that know how to process specific datatypes and interact with the map ie. placing the markers, drawing the routes and monitoring changes. I think going forward, this can really help us at Xebidy move quickly, building rich location based applications very quickly.

It has been mentioned a number of times recently (though I can’t think who, probably John Resig) that building API’s is hard and I can’t help but agree. While it’s definitely challenging, I think it can be an extremely rewarding thing to get right. Developers really do feel the benefits of having a well thought out APIs with productivity gains and less headaches.

One of the biggest curses yet greatest benefits of using Javascript is the many ways you can morph the language. Using ‘apply’ and ‘call’ you can provide a developer down the track some powerful built-in functionality. Throughout the XEMap API I’ve tried to avoid any developers ever instantiating a handler of their own (no new XELocationHandler). This lets me rewrite the this variable whenever or however I please. To store configuration variables I pass an options array to each function. This in turn leaves those functions to be reusable out of the context of the API.

5,090 thoughts on “APIs are Hard but fun

  1. supreme
    June 16, 2022

    I am also commenting to make you be aware of of the impressive encounter our daughter developed reading your web site. She picked up a wide variety of things, not to mention what it is like to have a great teaching character to get other people without difficulty know precisely a variety of complicated issues. You truly did more than readers’ expected results. I appreciate you for giving those necessary, safe, edifying and also easy thoughts on this topic to Jane.
    supreme http://www.supremesoutlet.us.com

  2. crack foxit pdf editor pro
    June 16, 2022

    you’re in point of fact a excellent webmaster. The website loading speed is amazing. It kind of feels that you are doing any unique trick. Moreover, The contents are masterwork. you’ve performed a fantastic task in this matter!|

  3. foxit reader crackeado 2021
    June 17, 2022

    Heya i’m for the first time here. I came across this board and I find It truly useful & it helped me out a lot. I hope to give something back and help others like you helped me.|

  4. foxit phantompdf business 8.2 patch crack & keygen download
    June 17, 2022

    Currently it seems like Expression Engine is the best blogging platform out there right now. (from what I’ve read) Is that what you’re using on your blog?|

  5. yeezy
    June 18, 2022

    I wanted to post you one tiny remark to give many thanks again for your remarkable secrets you have shown in this article. It was quite tremendously generous of you to provide openly precisely what numerous people could have marketed for an electronic book in order to make some cash for themselves, particularly considering that you could have done it in the event you wanted. The guidelines as well acted to be a great way to know that other individuals have a similar interest the same as my own to understand good deal more concerning this condition. I am sure there are some more fun times up front for people who start reading your blog post.
    yeezy http://www.yeezy350s.com

  6. download microsoft office 2013 free full version 32 bit
    June 18, 2022

    It’s genuinely very complicated in this busy life to listen news on Television, thus I just use web for that purpose, and take the most recent news.|

  7. activate microsoft office 2013 without product key free 2019
    June 19, 2022

    This text is invaluable. When can I find out more?|

  8. how to activate office 2013 professional for free
    June 20, 2022

    Very descriptive blog, I liked that bit. Will there be a part 2?|

  9. Wutsapper crack
    June 21, 2022

    If you want to take much from this piece of writing then you have to apply such techniques to your won website.|

  10. Wutsapper Mod Premium
    June 21, 2022

    Quality articles is the crucial to be a focus for the visitors to pay a visit the web page, that’s what this web page is providing.|

  11. Wutsapper mod
    June 21, 2022

    Hi, i think that i saw you visited my weblog so i came to “return the favor”.I am trying to find things to enhance my web site!I suppose its ok to use a few of your ideas!!|

  12. Wutsapper Mod Premium
    June 22, 2022

    Hi to every one, it’s genuinely a good for me to go to see this website, it consists of useful Information.|

  13. disk drill mac crack
    June 24, 2022

    Hi there Dear, are you really visiting this site regularly, if so after that you will definitely obtain good know-how.|

  14. disk drill mac crack latest
    June 25, 2022

    great issues altogether, you just received a logo new reader. What may you recommend about your post that you just made some days in the past? Any sure?|

  15. disk drill pro mac crack
    June 25, 2022

    Helpful information. Fortunate me I found your website unintentionally, and I’m surprised why this coincidence did not came about in advance! I bookmarked it.|

  16. disk drill mac crack latest
    June 25, 2022

    Good day! I simply would like to give you a big thumbs up for the excellent information you have right here on this post. I am returning to your site for more soon.|

  17. disk drill pro crack
    June 26, 2022

    Can I simply say what a comfort to find someone who truly knows what they are talking about on the web. You definitely realize how to bring a problem to light and make it important. A lot more people have to check this out and understand this side of the story. I can’t believe you’re not more popular given that you surely have the gift.|

  18. jordan shoes
    June 26, 2022

    I actually wanted to compose a small remark in order to appreciate you for the fabulous secrets you are giving here. My prolonged internet search has at the end been honored with incredibly good suggestions to talk about with my co-workers. I ‘d suppose that we visitors actually are extremely endowed to dwell in a perfect site with so many awesome professionals with very beneficial strategies. I feel extremely grateful to have discovered your webpages and look forward to really more pleasurable minutes reading here. Thanks a lot once more for everything.
    jordan shoes http://www.shoesjordan.us.com

  19. wondershare mobiletrans pro crack
    June 27, 2022

    What’s Going down i’m new to this, I stumbled upon this I’ve found It absolutely useful and it has aided me out loads. I’m hoping to give a contribution & help other customers like its aided me. Good job.|

  20. wondershare mobiletrans crack
    June 27, 2022

    Asking questions are actually nice thing if you are not understanding something entirely, but this post offers pleasant understanding yet.|

  21. wondershare mobiletrans pro crack
    June 27, 2022

    Heya i’m for the first time here. I found this board and I find It really useful & it helped me out much. I’m hoping to present one thing back and help others such as you helped me.|

  22. off white hoodie
    June 28, 2022

    I have to show appreciation to the writer for bailing me out of this problem. Because of researching throughout the world-wide-web and meeting views that were not powerful, I believed my life was gone. Living minus the strategies to the difficulties you’ve fixed by way of your entire article content is a crucial case, and ones which could have badly affected my entire career if I hadn’t encountered your web page. Your good capability and kindness in touching all areas was precious. I’m not sure what I would have done if I had not come across such a stuff like this. I’m able to at this point look forward to my future. Thanks a lot very much for the high quality and amazing guide. I will not be reluctant to recommend the sites to anybody who should have guidance on this topic.
    off white hoodie http://www.offwhites.us.com

  23. mobiletrans crack
    June 28, 2022

    This design is wicked! You certainly know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Excellent job. I really loved what you had to say, and more than that, how you presented it. Too cool!|

  24. reimage pc repair license key latest crack free download
    June 29, 2022

    Thanks a bunch for sharing this with all folks you really know what you are speaking approximately! Bookmarked. Kindly additionally consult with my site =). We may have a hyperlink exchange contract among us|

  25. steph curry shoes
    June 29, 2022

    I and also my pals were viewing the great suggestions from the blog and so the sudden came up with an awful suspicion I had not thanked the web blog owner for those techniques. My young men became for this reason very interested to learn them and already have simply been taking pleasure in these things. Thanks for being quite helpful and then for selecting varieties of quality subject matter most people are really wanting to be informed on. My personal honest regret for not expressing appreciation to you sooner.
    steph curry shoes http://www.curry-shoes.net

  26. reimage pc repair online serial key
    June 29, 2022

    It is perfect time to make a few plans for the longer term and it is time to be happy. I have learn this put up and if I could I desire to recommend you few attention-grabbing issues or suggestions. Maybe you could write next articles relating to this article. I wish to learn even more issues about it!|

  27. reimage pc repair serial number
    June 30, 2022

    Greetings! This is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us beneficial information to work on. You have done a wonderful job!|

  28. hermes birkin
    July 1, 2022

    I’m also commenting to let you be aware of of the fantastic experience our daughter had studying yuor web blog. She discovered a good number of things, most notably how it is like to possess an awesome coaching character to let other individuals with no trouble know precisely selected extremely tough subject matter. You actually exceeded our expectations. Thank you for producing those effective, trusted, informative and as well as fun guidance on this topic to Mary.
    hermes birkin http://www.hermesbirkins.com

  29. Russel
    July 2, 2022

    Having read this I thought it was rather enlightening.
    I appreciate you finding the time and effort to put this article
    together. I once again find myself personally spending way
    too much time both reading and commenting.
    But so what, it was still worth it!

    Here is my page starting a business (Bridget)

  30. Noreen
    July 2, 2022

    Hi there, after reading this amazing paragraph i am also
    delighted to share my familiarity here with mates.

    my website starting a business, Kai,

  31. Muhammad
    July 2, 2022

    Hi there Dear, are you in fact visiting this website on starting a business [Kenneth]
    regular basis, if so then you will absolutely take fastidious know-how.

  32. Blythe
    July 2, 2022

    There’s definately starting a business (Elissa)
    great deal to learn about this topic. I really like all the points you made.

  33. Leon
    July 2, 2022

    Hi! I know this is kinda off topic but I’d figured I’d ask.

    Would you be interested in exchanging links or maybe guest writing starting a business
    (Octavio) blog post or vice-versa?

    My blog covers a lot of the same topics as yours and I believe we could greatly
    benefit from each other. If you happen to be interested feel free to send me an email.
    I look forward to hearing from you! Awesome blog by the way!

  34. Lavonda
    July 2, 2022

    You really make it appear so easy with your presentation but I
    find this matter to be really something which I believe I might never understand.
    It kind of feels too complicated and very large for me.

    I’m having starting a business [Nell] look ahead for your next publish, I’ll
    attempt to get the hang of it!

  35. Refugia
    July 2, 2022

    Hello there, You have done an incredible job. I’ll certainly digg it and personally recommend to my friends.
    I am confident they’ll be benefited from this web site.

    Also visit my web site – starting a business (Julieta)

Leave a Reply