Archive for March, 2012

On JavaScript, Objects and Inheritance…

Over the past few months I have dedicated myself to learning JavaScript. By this, I mean, not just being able to use JavaScript, which I have done for many years, but learning the language. To me, this meant stepping beyond doing some DOM-scripting in jQuery for some cool effects, but rather learning the core concepts of the language. For someone who spent many years trying to perfect an understanding of object-oriented programming principles, this can be a tough transition (not that I had OOP principles perfected either). The JavaScript language is not just syntactically different, but fundamentally different – being prototype-based among many other things.

As the JavaScript community continues to grow, there seems to have been much debate about these differences. Some people try to recreate things from classical OOP in JavaScript, like classical inheritance and strict(er) typing. Still others argue that by doing this, you ignore what makes JavaScript uniquely powerful. We’ve covered a little bit of both ends on the ADC, starting with Keith Peters’ popular article “JavaScript object creation: Learning to live without ‘new.’” More recently, I wrote about doing “Pseudo-classical object-oriented programming in JavaScript with Minion.” The latter focuses on one of many libraries that allow you to create objects that mimic classical inheritance and allow for more traditional namespacing and extending of objects. To be clear, I am not taking a side in the debate – something I don’t feel quite qualified to do at the moment. However, I do think it is an important topic and worth exploring both sides of the debate. I plan to continue to cover on the ADC in various forms whether it be in examining languages like CoffeeScript to other libraries/frameworks that offer differing “solutions” to these issues to covering fundamental language concepts in JavaScript.

Hopefully, you find these topics as fascinating and thought-provoking as I do. As always, I welcome your feedback on items we publish on the ADC as well as ideas for topics you’d like to see (and, remember, we even have a forum dedicated to getting your feedback).

A Digital Magazine for HTML and JavaScript Developers

ApplinessThis morning, Adobe evangelist Michael Chaize announced the release of a new digital magazine for iPad and Android tablets called Appliness. The first issue includes tons of great content from people like Michael, Piotr Walczyszyn, Andrew Trice, Christophe Coenraets, Mihai Corlan, Alan Greenblatt, Raymond Camden, Greg Wilson, Brian Leroux and myself as well as an interview with Maximiliano Firtman. I think the magazine looks great and features great articles with code samples and interactive demos. The best part is that it is totally free! So go to the Android Market (I mean, Play Store) or Apple App Store and download it today.

To learn more about the application, you can check out Appliness.com. Appliness was built using Adobe’s Digital Publishing Suite (DPS) and Michael covers some of how it was built in his post. Of course, if you want to learn more about how to use DPS, you can check out the DPS Developer Center on the ADC.

New JavaScript and HTML5 Tutorials on the ADC

Hopefully many of you have noticed that we have been pushing for some really great content on the topics of JavaScript and HTML5. Just yesterday we published a three-part series on Backbone.js by Adobe evangelist Christophe Coenraets and the first in a series on JavaScript design patterns by Joe Zimmerman.

Late last week, we also published the second in a four part series on building applications for Android and iOS using HTML5 and JavaScript with PhoneGap. This series is by Adobe evangelist Andrew Trice.

Personally, I am excited because we have a lot more content like these coming. However, we are always looking for your feedback. As always, you can add comments or ratings to each article, but also if there is a topic you really would like to see the ADC cover, you can always suggest it via our ADC feedback forum. Our goal on the ADC is to produce content that developers want and need, so we are open to any ideas, whether they are focused on an Adobe product or not.

- Brian Rinaldi

ADC Write & Give program – Q1 update

The Adobe Developer Connection (ADC) Write and Give Program gave $3,500 USD to charities in the first quarter of 2012. The program acknowledges the writing efforts of our ADC community authors by making a charitable contribution to a charity for each author who publishes content on the ADC. Each author chooses his or her charity from a list of five preselected charities (listed below).

To date the ADC has donated over $67,000 to these charities through the program in recognition of our ADC authors. To our ADC authors, we thank you for sharing your technical expertise with the greater developer community while helping other communities at the same time!

Read on to find out more about the charities that the program supports, and to see the list of authors for this quarter who made these contributions possible!

* Benetech: Creates new technology solutions that serve humanity and empower people to improve their lives.

* Nature Conservancy: Works around the world to protect ecologically important lands and waters for nature and people.

* Mercy Corp: Alleviates suffering, poverty, and oppression by helping people build secure, productive, and just communities.

* Care: Fights global poverty by serving individuals and families in the poorest communities in the world.

* Feeding America: Is the nation’s largest charitable hunger-relief organization.

The authors who participated in this program from December 1, 2011 – February 29, 2012 are:

  • Tom Green
  • Dan Carr
  • Pete Freitag
  • Tommi West
  • José Carlos Rivera
  • Samir K. Dash
  • Keith Peters
  • Stephanie (Sullivan) Rewis
  • Quentin Thiaucourt
  • David Powers
  • Chris Converse

Thank you, authors, for your contributions to the ADC!