Functional Programming, View and Data API Demos

I spent Monday evening at the interesting meetup workshop on functional programming in JavaScript led by basel.js meetup group regular Lukasz Gintowt.

All available seats were taken with 20 participants.

Follow the link above to get to all the interesting material we looked at.

It reminded me somewhat of the early days of AutoCAD programming, where the more elegant AutoLISP solutions tended towards functional programming... Remember car, cdr, mapcar, apply and lambda?

Basically, that is part of what we talked about.

Look up Haskell Brooks Curry, mathematician and logician, with three programming languages named after him, Haskell, Brooks and Curry, as well as the concept of currying, a technique used for transforming functions in mathematics and computer science.

We went through a number of cool hand-on JavaScript exercises listed in Lukasz' slides.

Here are some of the additional notes I took:

Cool View and Data API Demos

David In't Veld posted a comment on the View and Data API notes and samples asking for some simple demos:

Question: Is there any 'Demo' webpage to show-off what this View API can do?

It's a pity there are almost zero sample projects in an actually working Internet environment. I thought by now this would have been set up. Because clearly there has been a lot of work been put into this... The website developer.autodesk.com simply points to GitHub but those samples require some study to make them work... even images on the Autodesk website are not working API but simple images.

Our company is investing in new ways of showing our Revit models, and I suggested the View API, however since I could not show any impressive working model. I cannot convince anyone to invest in this...

Probably not the best place to mention this, but its frustrating every time I see View API in the title. Would like to see more demo pages...

Answer: The best place to ask for more appropriate samples is in the dedicated Autodesk View and Data API discussion forum: Autodesk Community –> Web Services API –> View and Data API discussion forum.

I would suggest submitting this comment there as well and see what the team has to say.

Here is a bunch of publicly accessible demo pages that will hopefully help fulfil your need, partially equipped with source code on GitHub to look at as well:

By the way, I looked at David's web site and really like the photos.

Another example of combining photography and Revit API programming, just like my colleague Jaime.