Hi All,

It's been looming for a while now that we want make a few major
upgrades. I've started work on these and the code is available on
branches on my github account.

https://github.com/gravitystorm/Potlatch2

A) Targetting flash player 10

We want to target flash player 10, so that we can use Vectors (instead
of untyped arrays) and have access to the local filesystem for things
like saving diff files and loading local GPX or shapefiles. The code
to do this is available on the fp10 branch. This means that for the
~1% of people estimated to still use fp9, potlatch2 won't work for
them.

B) Upgrading to flex4

We use a (very) old version of flex 3 and so we're missing out on
loads of goodies from the last few years of flex development. We're
skipping 4.0 (Gumbo) and heading straight for 4.5 (Hero) which was
released in April. I've started the conversion on my flex4 branch
(which has fp10 as a pre-requisite) and it currently compiles but with
one or two things not working properly.

As part of this there's some namespace issues in the MXML files. Adobe
suck giant balls through tiny straws when making sure their
documentation is accurate. Be warned that in many cases their
documentation has the wrong namespace documentation (or rather,
they've changed it again since but not updated the docs).

Flex3 - everything was lumped into one namespace (the '2006'
namespace). It contained both AS3 language features (e.g. <mx:Object>)
and flex widgets (e.g. <mx:Button>).

Flex4 - there are now 3 namespaces:

xmlns:fx="http://ns.adobe.com/mxml/2009"; - for AS3 language components
and compiler-specific things like <fx:Script>
xmlns:mx="library://ns.adobe.com/flex/mx" - for the old mx widgets,
which we use extensively
xmlns:s="library://ns.adobe.com/flex/spark" -  for the new spark
widgets, which we'll start using soon

I expect most developers (well, me at least) will keep typing
<mx:Script> for a while to come, but you've all been warned :-)

Hopefully we can resolve the outstanding issues on the flex4 branch in
the next few days and start doing cool things with the new toys.

Cheers,
Andy

_______________________________________________
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev

Reply via email to