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,035 thoughts on “APIs are Hard but fun

  1. Dann
    July 2, 2022

    I’m not sure where you’re getting your information, but good topic.
    I needs to spend some time learning more or understanding more.
    Thanks for wonderful info I was looking for this information for my mission.

    My webpage; starting a business (Debora)

  2. Basil
    July 2, 2022

    Thank you for the auspicious writeup. It actually was starting a
    business (Lillie)
    leisure account it. Glance advanced to far delivered agreeable
    from you! By the way, how can we communicate?

  3. is expressvpn compatible with real debrid
    July 4, 2022

    It’s not my first time to visit this site, i am visiting this site dailly and take nice facts from here daily.|

  4. express vpn cracked accounts telegram
    July 4, 2022

    Pretty nice post. I just stumbled upon your blog and wished to say that I have truly enjoyed surfing around your blog posts. After all I will be subscribing to your rss feed and I hope you write again very soon!|

  5. express vpn mod apk not working
    July 4, 2022

    Amazing! This blog looks exactly like my old one! It’s on a totally different topic but it has pretty much the same layout and design. Wonderful choice of colors!|

  6. chrome hearts online store
    July 5, 2022

    I wanted to compose you a very small observation to help say thanks a lot as before over the striking ideas you’ve contributed on this website. This is really unbelievably generous of you giving without restraint exactly what a few individuals could have offered for sale for an ebook to end up making some cash for themselves, certainly now that you could have tried it if you ever wanted. Those tricks also acted to provide a fantastic way to realize that the rest have the same dream just as my personal own to learn more and more when it comes to this issue. I am certain there are lots of more pleasurable opportunities ahead for individuals who find out your blog post.
    chrome hearts online store [url=http://www.chromeheartstoreonline.com]chrome hearts online store[/url]

  7. jordan shoes
    July 7, 2022

    I enjoy you because of all of the efforts on this site. Kate really likes carrying out research and it’s obvious why. Many of us notice all of the lively way you provide powerful tips and hints through the web blog and boost participation from other people on this subject so my girl is undoubtedly being taught so much. Take pleasure in the remaining portion of the year. Your performing a superb job.
    jordan shoes

  8. bape
    July 8, 2022

    My spouse and i were really fortunate when Chris managed to finish off his homework out of the precious recommendations he acquired in your web pages. It’s not at all simplistic just to always be giving for free tips and tricks which often men and women might have been selling. And now we understand we’ve got the blog owner to appreciate for this. The specific explanations you have made, the straightforward blog navigation, the friendships you will make it easier to promote – it’s mostly awesome, and it is making our son and our family do think the concept is thrilling, which is particularly fundamental. Many thanks for everything!
    bape

  9. July 11, 2022

    Royalcasino bahis sitesinde yer alan say?s?z kampanyadan faydalanarak güzel kazançlar elde edebilirsiniz. Site içerisinde say?s?z kampanya yer al?r ve bu kampanyalar her kullan?c? için uygundur. Siteye ilk kez üye olmu? birisi tüm kampanyalardan faydalanarak güzel kazançlar elde edebilir. Bu kampanyalar? elde etmek için yaln?zca siteye üye olman?z yeterlidir. Örnek olarak siteye ilk kez üye olmu? ve yat?r?mda bulunmu? birisi direk olarak Ho? geldin kampanyas?ndan faydalanabilir. Ho? geldin kampanyalar?na giren kullan?c?lar belirli oranda kazanç sa?lamaya devam eder. Siteye yaln?zca para yat?rmak dahi sizi daha fazla kazanman?z? sa?layabilir.

  10. AnthonyPer
    July 13, 2022

    ?????????? ????????? ?????????
    [url=https://nozhnichnyye-podyemniki-dlya-sklada.ru]http://nozhnichnyye-podyemniki-dlya-sklada.ru[/url]

Leave a Reply