On the Cutting Edge with Adobe’s Edge

On the Cutting Edge with Adobe’s Edge

One of the biggest sources of buzz this past week has been Adobe’s announcement of the Edge preview. People have been talking about it a lot but few seem to really grasp some of the ideas or technology behind this.

Today, I’d like to talk to you a little about the Edge preview and why you should be cautiously optimistic at this juncture.


A Little History

Creating content using a standards based approach is hard. This is where Edge comes in.

Flash’s birth and history can make for a very, very confusing read: it’s incredibly loved or hated depending on who you speak to. The undeniable fact is that Flash is one of the main reasons behind the proliferation of video and interactive media on the web. On the flip side, it’s criticized for its closed nature and performance issues.

While the platform itself isn’t going anywhere in the near future, you can’t help but notice that Flash’s hold on the web has been loosening lately.

Chalk it up the rise of HTML5 and an increasing number of developers embracing open standards or a certain fruit flavored company leading a crusade against Flash, the bottomline is that the web has been looking for an open, standards based alternative to Flash for sometime now. One of the big reasons for the arrival and rise in popularity of HTML5 along with libraries like jQuery can be attributed to antagonism and apathy towards the Flash platform.

Creating content with the new technologies though has been far from smooth. This is where Edge comes in.


What is Edge?

Edge is Adobe’s attempt at being relevant in the post-Flash world.

Edge is touted as an animation tool ideal for designers who want to create web content replete with animations but based on the open standards that prop up the web. According to their site:

Adobe Edge is a new web motion and interaction design tool that allows designers to bring animated content to websites, using web standards like HTML5, JavaScript, and CSS3.

Basically, Edge is your ticket to adding animated content without having to resort to external plugins like Flash or Silverlight.


Do We Really Need Another Tool?

In this case, oh, yes we do!

I certainly feel so. Before you look for your pitchforks, let me explain!

Flash developers have access to very mature and very sophisticated design tools. Want to create a simple animation? A few clicks here, some input there and you’re done! They really do enjoy the use of a complete environment when it comes to authoring their content.

What happens when you want to go the standards based way?

It’s not that easy, I can tell you that much. You have to poke around with code, learn a little JavaScript, get bored, learn to use a library like jQuery, get excited again and then find out that you still have to hand code every single animation.

While it’s ok for us dev types, it’s much more of a chore for the artsy designers. Standards based development really doesn’t have to be hard! I realize that enterprising developers have come up solutions for these but none have appeared from the bigwigs of big content.

Edge seeks to streamline this process by reusing common concepts of media creation such as timelines and stages to make the learning curve more gentler, easier and thus, more accessible.


Initial Impressions

The preview is a svelte 65MB download and installs quite quickly. Getting access to the download requires an Adobe account though. It’s free, sure, but adds an unnecessary step to the process. 1999 called, they want their frivolous signups back.

And oh, if you’re still lost as to where to download your copy, you can get it here.


The Interface

Adobe Edge

First impressions of the preview are quite positive. It looks clean, composed and uncluttered. If you’ve used GoLive in the past, or even Flash, the interface should look mostly familiar.

Adobe Edge

The stage or canvas acts as the first DIV and when you add elements to your canvas, they’re added hierarchically with the type of element being displayed on the side.

Adobe Edge

The timeline pane is one of the key portions of any animation suite and Edge doesn’t disappoint. The entire lower portion of the interface is dominated by the timeline pane.

You can view all the properties of the elements you’ve added so far to the canvas in the timeline. Creating an animation is as simple as adding a keyframe, supplying it with the info for the frame and Edge will fill in the rest — tweening works as expected, excellently.


Functionality of the Current Preview Version

This preview is obviously in alpha mode — the first preview’s main focus is on adding simple shapes and animations. That’s pretty much all there’s present in the interface as well.

Users can add text, images and simple shapes with relative ease — just point, click and drag. You can also customize assorted characteristics of the content including color, skewing, opacity, rotation and much more. Take a quick look at the image below to get an idea of what I’m talking about. If you’ve at all been introduced to animation software in the past, you should feel right at home.

Adobe Edge

You can also import premade assets, including images, into your current canvas.


Under the Hood

Since this isn’t really a tutorial on how to use Edge, I’m going to skip ahead and download a premade demo which you can get from here.

Let’s take a look at the directory structure of a sample Edge project:

Adobe Edge

No surprises here. Your animations are now created from your familiar trifecta of web technologies — HTML, CSS and JavaScript.

As opposed to popular opinion, Edge uses a mix of jQuery and CSS3 to animate the contents of its canvas. Yes, you heard that right – jQuery does a lot of the grunt work behind Edge.

Digging into the code with Firebug, you’ll notice that there are a lot of DIV elements being moved around with jQuery. For example, here is the actual code being injected in the example I linked above. Not entirely pretty.

Adobe Edge

Basically, any animation that CSS3 can do is left to it since all CSS3 effects are hardware accelerated, and thus will perform well. The rest is left for jQuery to handle.

Adobe Edge

Digging further into the code, you’ll see that all your element, their properties, tweening information and the rest are stored as a JSON file. I’m assuming the engine basically parses this information and constructs the DOM and attaches the handlers.

As a quick experiment, let’s look at what the browser sees:

Adobe Edge

Uh, oh. There’s literally nothing that makes semantic sense in there. Disable JavaScript and you’re left with a big blob of nothingness. Fans of graceful degradation, get your pitchforks.


Where the Heck is HTML5?

It’s being marketed as a HTML5 tool and well… this is not HTML5 powered. Yet.

I went in expecting to be dazzled by the splendor of canvas or SVG. After a look at the DOM, it’s quite apparent there isn’t even a tiny bit of either in there. Just to make sure, I did a quick search of the JavaScript files searching for the canvas related keyword, getContext . Needless to say, nothing turned up. The biggest blob of HTML5 here is the doctype. Sure, you can import SVG content but you can’t touch the markup so it’s a moo point.

It’s a little puzzling why Edge doesn’t use any of the modern technologies instead. If anything, it’s being marketed as a HTML5 tool and well… this is not HTML5 powered. Disingenuous marketing or signs of features to come? I’m leaning towards the latter whilst really, really hoping the former isn’t true.


Is this Approach the Best Option Moving Forward?

Nope.

From a development perspective, animating DIVs is the equivalent of using tables for layout — it works but at the cost of elegance and semantics. Canvas and SVG are precision engineered to do exactly what Edge does here and make more sense in the long run.

Even if canvas performance is piddling on the current mobile devices, there’s no way for the performance to go but up and it really shouldn’t hamper the adoption of new technology.

While one would ideally like to see cutting edge apps actually make use of similar cutting edge technologies, keep in mind that this is still a preview, an early alpha version.

In the words of one of the engineers behind Edge regarding DIV based animation:

We started with DIVs because we wanted to get something out there quickly that folks could play with. I say we ‘started’ there because Edge will be evolving rapidly — the product is by no means feature complete.

That’s a little encouraging! While I’m disappointed with their initial, see what sticks approach, it’s good to know that this is just how they’re kicking off things, not how they plan to do things ultimately.


Remember, this is Still a Preview

The thoughts above may come off as a little negative but that’s not my intention. I, and the rest of the community, have high hopes for this tool and thus very high expectations.

And Adobe on their part isn’t lazing around. They’re already working on the feedback provided by the community so far and have a road map in place for future versions.

Adobe Edge

With Adobe embracing open standards and focusing on producing creative tools instead of boxed-in application platforms, I can’t help but feel they’re on the path towards becoming as relevant to the progress of the web as they were in the past during the height of Flash.

Let us know how you feel about the Edge preview in the comments and thank you so much for reading!

Siddharth is Siddharth on Codecanyon
Tags: adobe
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • Adam Jenkins

    Animating DIVs for animations? Might as well be using FrontPage to make “web pages”.

    This is dark-ages stuff.

  • pelumini

    Sidd, this should be premium! lol.

  • http://instructmydesign.blogspot.com/ Dinesh Verma

    looks cool, whats its price

    • ceteco

      Ignorance is priceless.

  • Bwakathaboom

    I had the same mixed reaction to Edge. When I asked myself “Is this really going to save me any time?” the honest answer was “Not likely”. But then I always found Dreamweaver to be unnecessarily bloated and complex so I’m probably wrong.

    Back to Notepad++, then :)

  • http://www.jeffadams.co.uk Jeff Adams

    Niiiiiiiiiiiiiice article! Been waiting for a decent overview of Edge for a while now, thanks!!!

  • http://www.np-solution.com Nabin Singh

    Example looks impressive. Will certainly check it out :)

  • Chris

    Lags when dealing with the timeline on my 2010 MBP. It still is a preview, but still Adobe, come on.

    But I can see this turning into a program that Adobe will try to sell for $600 (::shock::)

  • Sunny

    Atleast, this tool helps developers to create web-based animations fast, when compared to the time, the tedious coding takes.

  • http://www.infielddesign.com infield

    I don’t have high hopes for it simply because it developed by Adobe and open standards doesn’t fit with their current culture. I think the more interesting product to watch is Sencha Animator. http://www.sencha.com/products/animator/

  • Brad

    Its not too hard to get used to, its free right now as a preview. Its still a little raw but if you are advanced with it there is lots you can do. Its interesting to learn

  • http://danaemc.com Danae

    I’ve only just come to terms with using Adobe’s Dreamweaver – after heavily handicapping it’s “helpful hints”. My program of choice is Notepad++, and I would never use the design view of Dreamweaver.

    I think I’ll stick to Boilerplate, to be honest…

    • yeah

      Oh just get OVER yourself.

      • http://danaemc.com Danae

        Thanks for your insightful comment, you’ve enlightened us all.

  • http://www.2021.com.au David

    Great Wrap-up on Edge.
    Although I hope someone releases a canvas animation tool.

  • http://www.maribol.ro Maribol

    Tank you! Looks really great.

  • kasakka

    Honestly, it looks like the same kind of UI rubbish that Flash is. Just the location/transform panel looks just as awkward to use as it does in Flash. If this is developed by the same folks, it will be sloppyly patched together.

  • Alistair

    By far one of the most well written, enjoyable articles i’ve read online in a while.

    Whilst a moo point is never great to hear it’s always gonna be a moo point. Just priceless Siddharth, not many could have put it better!

    Thank you for the review.

    Commenter exit stage left, or is that…

    $(“div#commenter-x”).slideLeft(‘normal’);

    For the most part, that’s just redundant.

    You really would expect more from Adobe, speaks volumes about what they think of a technology that may or may not be the end of Flash.

  • http://www.maginaper.co.za Rob

    The fascinating loop of progress.

  • Fred

    Animating DIV is actually the best practice for HTML (five or not) animations. All other solutions are not working on all mobiles and browsers.
    Canvas animation are crappy and ressource hungry on mobiles phones and SVG is not read by all browsers. Maybe in a few years, Canvas and SVG will grow up, but for now, DIV animation is the best solution.

    And, in fact, the incoming Flash 11 with its gpu accelerated graphics and less ressources costing will be the best solution for advanced animations on PC and Mobiles… with a fall back HTML5 for IOS only.

  • http://www.demortalz.com Salman Saeed

    EDGE. #FTW. Awesomeness.

  • http://www.stopp.se Stopp

    The performance is OK in Chrome and Safari, but the framerate drops in Firefox 5. There is no support for looping animations in Edge yet, so I had to add that manually in the code, which sort of defeats the purpose of creating the animations in a timeline interface. Furthermore, looking at the HTTP requests it loads 5 instances of the same SVG object, as a result of Edge’s inability to duplicate layers(!) — It should just be the same one with different opacity. Overall, this animation weighs 165kB with a 3.3kB SVG object, which means there is a lot of unnecessary bloat. Seeing as Edge relies on jQuery, the same effect could have been built much more efficiently with even rudimentary coding skills.

  • Florian

    Looks good, but as usually there is no linux version of it. :S

  • http://www.gold-price-today.com/ اسعار الذهب اليوم

    Nice article
    Deserve the gold medal

  • Macodev

    At this stage of develomement i think Edge hardly will have too much impact over web trends as old Flash did in its epoch. We’ll see.

  • dsykes

    Given that Edge is in alpha mode, I was still hoping to be able to make simple links and rollovers with it. No dice.

  • Will

    It’s an interesting preview and not surprising that Adobe is starting on this since a fair number of developers are turning away from Flash. I just hope that everyone reminds themselves that when it’s ready to go, Adobe will more than likely be charging various limbs as well as first through third born children.

    What would be interesting to see is someone come up with a web based animation tool. I haven’t had much time to play with a lot of the new CSS3 stuff, but it’d be interesting to create your animation where it will be deployed.

  • Saul

    Wow! That is one piece of messy code! And those ID’s! Its like coding in Dreamweaver, but we’ll just have to wait and see what happens

  • Ric

    Well… Steve Jobs says Jump and Adobe says “Edge” and all professional Flash Developers must pack up and start again at the beat of the share market.
    Regards,
    Ric

  • Saad Salman

    Let me guess: Edge is built on top of adobe’s Air platform? To me it looks like exact replica of Hype with a butt load of ugly & non mac interface.

  • Migelle

    Flash was obsolete since it started. A poor attempt to make something better then Director and more web-worthy. That resulted in a bunch of actionscript nonsenses which are finally over. Most of actionscript programmers will say: but flash is GOOD, IRREPLACEABLE! Not really. You have been using flash just to replace unwanted and boring gifs (besides creating web video players and webpage links, occasional small animation like slidein menu or popup), haven’t you?

    Welcome html5
    Bye Flash, we won’t miss you.

  • jose

    For me it’s the same as learning to make a website with code or with dreamweaver, still a good tool tough

  • Ali Baba

    Adobe Edge = Bloated code

  • Jonathan Whiting

    When I first got an email from adobe about edge i was hesitant. But after trying it Im really excited. I feel like I did in the early days of flash. Jen one of our designers put together a banner on our homepage using edge. It is a good example of what you can do really quickly. Heres the link, http://simpleenginemedia.com

  • http://www.veztekusa.com veztek

    this certainly looks amazing.Surely I’ll check this out.

  • chuck

    So far Adobe Edge beats the hell out of coding these things in JavaScript by hand. Here’s another simple demo: http://bit.ly/pFiArx

  • http://www.miguelangelgarcia.comq Miguel A Garcia

    Looks like the best way to make this work across multiple browsers is not to use native html5 technology.

  • http://www.apepp.info Andrew Peppin

    …great, to be honest though it’s the same old problem for at least another 5 years probably, maybe more…trying to please all browsers is always been the problem, mobile devices in my experience dont play jquery very well, all sounds like a can of worms to me…just sounds like things are being broken when they didn’t really need fixing, like a viscious circle really. I’m sure Microsoft will do their best to slow the party down…in some ways i think they’re right, the world needs to slow down, perhaps it’s all about chasing rainbows, i don’t know…i think my head is about to explode into pieces of disinterest.

  • http://www.hurleytech.com Milwaukee Web Design

    Honestly, this feels more like a transitional fix than a permanent one. There still has to be a better way than this.

  • nexus6

    the web dev business is falling apart .. tons of new devices, unable to perform or with screen too small to show the content properly .. try to explain all this to the clients and fit this to their shrinking budgets .. dark days …

  • aomelia

    Seems that Adobe has the right idea in mind, by first establishing the UI of the tool itself, and teasing to see if an AE/Flash type timeline is what flys. The overall objective, I think, as was with Flash’s later iterations, is to democratize interactive design.

    I teach a few courses in design at the local JC and the most intimidating element to all of my new budding designers always seems to be coding. Of course I do my best to set them straight, but I have always found it easier to use GUI programs to introduce FIRST the key animation and interactivity principles, before teaching them how to semantically make it all happen. Walk then run.

    Edge looks to be a great next step to knocking down the HTML5 mythos. If, that is, Adobe can stay true to their marketing and continue to load in HTML5 specific features and capabilities that at this point are obviously lacking.

    Fact of that matter is, that whom ever introduces an effective HTML5 interactivity GUI application will be filling a huge void in the interactive design world, and why should we not expect it to be Adobe? Not to hold my Kool-aid to high, but they respond immensely to user feedback, have incredible market reach/brand recognition and while their products come at a cost, I would ask what other “suite” of design tools is so comprehensive? Casual users and experts alike will certainly find Edge a welcome addition to their workflow. If not in Alpha, Beta or 1.0, then certainly in a near future iteration.

    PS- Great Article, glad I stopped to read it

  • http://www.arabgoldprice.com اسعار الذهب في مصر

    Sounds good, but as usually there is no linux version of it. :-?