Tag Archives: barcamp

Live from Barcamp – Day 2 – Session 3 [for me] Google Web Toolkit

Presenter – Robert Cooper

Had a good lunch – everything food-wise that you can possibly put on a stick – finishing with chocolate covered cheesecake on a stick.  Who can complain about that?
Now sitting in Cooper’s session on Google Web Toolkit – a Java to javascript compiler.  It’s certain to be way over my head [again] but I’ve got to be loyal to the old AnyDevice crew.

Some paraphrase, etc.:

“It’s a combinatorics problem” you don’t hear that very often.
full implementation for the DOM.  Specific implementation for all major browsers – 5 compilations per application based on user agent [expanding to 8]  Monolithic compile to all the customized environments.   Can be hacked to tailor experience per environment.

The application looks like a single unified app, but the model gets altered per environment — keeps the javascript footprint small.  Lots of squeezing happens in the compiler.   The shell is built with SWT system’s SWT browser component – uses the native browser for the environment.  Includes RPC system, but you’re not bound to use it.   Shell, standard development environment — take native browser and hook in controls to native byte code.  Supported on net beans, eclipse and others.  Shell dynamically compiles Java in the background so almost like working in an interpreted environment.  Translates everything back to regular running java code which enables use of a java debugger.  Platform includes a remote testing system.  Unit tests can be farmed out to each individual browser which can help isolate browser specific problems.  Includes an embedded Tomcat server, which is a little weird to work with compared to regular Tomcat.  GWT very similar to java 1.1 in experience.   Limited reflection implemented, can do simple data binding.  Binding a grid form to a data feed — continuous environment updates, support for data validation in forms.  Can use reflection to create animation effects — helps make it easier to build an application.   More return on javascript size when the application is more complex.  Very heavy footprint for simple, hello-world type stuff, but cleans up a lot as part of the library.  Better returns on file size over growth of application.  Has a very specific support for caching.  Automatic versioning system based on md5 hash of compilation.  Nocache.js is the bootstrap file.  That’s the only file that requires pragma nocache.  Some files can be cached permanently, because versioning will take care of them.

Helps protect application from cross-site scripting attacks.  Currently have 3 applications in production now, all used internally, but some have 5000+ users.

Show & tell: soft scroll module — force a button to be visible in a pane.   Nice for enhancing user experience.  Makes for a highly portable user experience — can be ported to many emergent platforms like Nintendo Wii and iPhone.  Abstraction over browser differences (like directx calls versus firefox canvas) simplifies keeping user experience consistent across platforms.

Still some problems as to where the web designer fits into the process – right now you really need a programmer on the UI.   The new version coming, GWT 1.5, will allow html to be compile to be regular gwt widgets so a designer can make a layout and have that dropped into the development process. 1.5 will also have have Java 1.5 syntax — will make life happier for working in the IDEs.  Google is starting to see widespread adoption so you’ll start to see some standardization and optimization.

Posted in Barcamp Atlanta, frameworks, java | Also tagged , , , , , , | Comments closed

Live from Barcamp – Day 2 – Session 2 [for me] Second Life

Presenter – Michael Ivey

Blow by blow – sort of: What is the value? Michael finds that using 2nd Life makes for richer distance communication, as an alternate to just chat or other non-visual communication.   Virtual marketing — Nissan had virtual cars to drive around and they came out of a giant vending machine.  Other product placement.  This has been the main area of business, at least big corporate business.   Companies that are using 2nd Life for event-oriented and entertainment tie-ins.   What about training?  Thinks it would work well for training.  Distraction- potential is high – but there are options for locking down sessions and shutting off IM and things.  There.com – had non-localized content.  Second Life is only localized content – everything is tied to the parcel – very spatial.  How do you make something more realistic in 3d?  Better modeling that is camera responsive is possible but difficult.  XML-rpc can interact with objects – requires permission.
Got some show & tell — saw how to build a basic primitive.  talked about different small ways to generate Linden dollars.   Michael’s wife brings in enough lindens through her knitting shop and other 2nd life entities to offset their monthly spend within the environment.  Cool stuff.

Posted in Barcamp Atlanta, Second Life | Also tagged , | Comments closed

Live from Barcamp – Day 2 – Session 1 [for me] Drupal sh*t

Presenter: Rusty Stanton

The setting — grabbing OJ and a muffin on the run.  Can’t find the room.  found the room and Rusty.  No projector.  Wing it.

The paraphrase:
Quick recap on using drupal to present podcasts.  Question to class – experience with drupal?   A Joomla user says he went to that platform cause he found it first.  The verdict — drupal is more of an api for development – joomla is more designer friendly – a little more complete.

Q & A — how to restrict php to be non-exec or blocked from db?  It’s complex or you could right a module.  Recommendation – write a custom module that has a set of special tags or an API. Could write a token-filtering module to allowe a defined set of functionality.  Lots of question from a guy from WREK Atlanta radio.  Currently managing a drupal site and is facing some challenges with balancing flexibility without giving too much control.  Rusty runs GA Podcast site on drupal 4.7 — Site can’t be totally open because they are using taxonomy to organize radio programs.  They are rewriting to make programs nodes instead of taxonomies which will allow finer grade of permission administration – through user roles.

Problems of open source systems – often the 3rd party modules are buggy or hyper-tailored to one purpose — look for modules that are well-maintained or you may need to write your own.  Sometimes drupal’s are abandon-ware — written byt not supported.

Upgrade issues — can’t directly upgrade from 4.7 – 5.* — need to disable all 3rd party modules — need to get upgraded modules and reinstall.  Drupal 6 will have some php 5 specific stuff.  Drupal, a spectacular api, but kind of a pain in the you know what for end users.  But getting better.

Transition to discussion about WordPress.   How to create hooks?  Rusty gives an example of a plug-in that let him send specific content to someone who was stealing his content.

Posted in Barcamp Atlanta, blogging, drupal, frameworks | Also tagged , , , , , , | Comments closed

Live from Barcamp pt. 4 — Merb

Well before Merb, a good chat between sessions with Cooper about JavaFX, Silverlight, and other things – found out that he has a book coming out – Way to go Cooper!

Now on to the session –

Michael Ivey presents on merb — this is bound to be over my head [or rather, even more over my head than some of the other sessions]

The paraphrase;

Lightweight MVC Ruby app server — for high performance dynamic pages — some people call it Rails light
Rails performance is getting slower
Merb is an answer to that – make the developer take care of more of the magic, thus lighten the overhead

Motto: “no code is faster than no code” [love that]

Uses Rails generators
Less magic than using a rail app.
Trying to be database layer agnostic – puts more decisions on the programmer than Rails does.

Benchmarks against rails shows merb to be much faster — design philosophy is optimize for speed, then optimize more for speed.

Overall framework is small and tight — good for people who want to hack on their framework.

It is not a fork from rails it is 100% new code. It is written by Ruby enthusiasts. Rails [according to Michael] was written by someone not very familiar with Ruby so it is not written in a very Ruby-ish way. merb is by and for Ruby enthusiasts. Merb is thread safe. Huge advantage for heavily loaded sites. Gets used for file uploads – can “steal” a rails session, does its thing, then hands back the session. File uploads was part of the reason it was created.

This is bleeding edge stuff for the time being. Going forward the promise is all future releases will be just as fast (or faster) than the current release.

Why Merb? Every framework release of Rails is getting progressively slower — Rails is getting fatter [more magic code] – so this about being super lean.

Goal to make porting from Rails to Merb easy — ge the best of both worlds — Rails ease and speed of development. merb’s speed of production performance.

Biggest criticism — why not patch Rails? Action-pack — too much code.

Merb is harder to get started with, because it doesn’t make as many decisions for you. Still very driven by Ezra’s vision and direct management. Ezra wrote the book on Ruby deployment.

Posted in Barcamp Atlanta, frameworks, rails, ruby | Also tagged , , , , , , | Comments closed

Live from Barcamp pt. 3 — Facebook apps.

This session is packed!  Had to move to a bigger room.  speaker [Ididn’t get his name ]   is going to show a flickr app he is working [ speaker is Chris Martin gcjmartin@gmail.com]  – [sorry for the messy posting – typing and listening]
The blow-by-blow:

Shows his Facebook profile – has numerous plug-ins app.   Wanted to bring more value to the photo sharing experience, so modeled on pre-existing facebook photo app.  Loads photos from Flickr and pulls them into his facebook app – all metadata is coming from flickr.
Using Facebook as a data store — cross posts comments, etc between both environments.

Info on http://developers.facebook.com

Next generation apps — finding socially useful applications.

What are the tools for developers:  Programming whatever language you choose,  — He wrote his stuff in PHP.  It is a big API — all code sits on your own server.  You can write in but you have to putput FBML [facebook markup languageng]  also fql — Facebook query language.  Client libraries for various platforms and languages.

The demo app they give you shows the most restrictive process possible with Facebook.

You spit out markup that Facebook runs through an interpreter before it gets presented to the end user.

Posted in Barcamp Atlanta, facebook | Also tagged , , | Comments closed

Live from Barcamp Atlanta pt.2 – Better product blogging

Having wireless troubles in the second session I am attending. Talk will be focused on tips and techniques to improve product blogs. Presenter is Dave Coustan – http://blog.extraface.com This talk is about product as in product development not retailing per se.

Here’s my paraphrase of Dave Coustan’s talk:

Tip 1. Think of your product as a Point of View
Defines a way of looking at a product.
The job isn’t just done on your blog, you need to carry your point of view through your comments on other blogs.

Dreamhost vs. Lunarpages is used as an example of a point of view – oriented blog. Larger discourse on the ethics of hosting.

Tip 2. think story arc, not monster-of-the-week
Example – Earthlink — multi-post feature on Earthlink’s startpage creates ‘story arc’ – builds engagement, sense of time, and investment of the user through participation ( returning to read subsequent articles).

Tip 3. Organize revision cycles for a human being. Make it easier for the product team to write about what they’re doing, by giving them a context.

Tip 4. Who gets to break product news? Break (in the journalist sense) your own story – let the product team make their press releases truly meaningful. Play nice with your PR team.

Tip 5. Create and foster a subculture. Encourage tribal/cult branding – reward your community with attention and possibly schwag.

Bonus tips:

Make the lame interesting [like that’s easy] Example – usability lab from del.icio.us — a little humor, a little “don’t take yourself to seriously attitude” helps the dry material to be more meaningful.

Grab from the mail bag.

be specific when asking for feedback [yes always guide the call to action – that’s good marketing]

Throw in a cute animal [as a bunny owner I find this especially meaningful]

— post session —
New terminology “Dark Blog” internal closed blog that can’t be read outside the corporate network.
Getting feedback — lure ’em with candy. Encourage participation by using contests, and directly soliciting feedback.

Posted in Barcamp Atlanta, blogging | Also tagged , , , , | Comments closed