You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Alex Harui <ah...@adobe.com> on 2016/06/17 05:24:26 UTC

[FLEXJS] Examples/Templates

Hi,

I just finished a first attempt at another way of trying to make it easier
for folks to get started with FlexJS.  As you may know, in Flash Builder
doesn't know how to make a new FlexJS project.  We've been instructing
folks to create a new Flex project, then copy an existing FlexJS example
into the project folder and rename it and some variables in the example.
I just put together some new launch configs that do the copy and rename
for you, so you can now 1) create a new Flex project, then 2) choose Run,
External Tools, then Convert New Flex Project to FlexJS Project and it
will copy a "Hello World" example into the project.

I also created a config called Convert New Flex Project to FlexJS MVC
Project that copies DataBindingExample, then I got to thinking that we
should have some other more template like example (sort of what I think
Carlos was asking about) that serves as more of a starting point than a
mini-example.  It would have more comments in the code about where to put
things, for example.  These could then be used outside of FlashBuilder as
well.

Anyway, please try out the configs to make sure they work and suggest or
implement improvements to the workflow.  To install the configs, install
the nightly build, choose File, Import, Run/Debug, Launch Configurations,
then choose the launch configs from under ide/flashbuilder.

Thanks,
-Alex


Re: [FLEXJS] Examples/Templates

Posted by Harbs <ha...@gmail.com>.
This sounds very good. I’m probably not going to have time to try this today, but I will definitely do that early next week.

I hope other IDE vendors pick up on this as well. For example, it should be really easy to convert starting points into FDT project templates.

On Jun 17, 2016, at 8:24 AM, Alex Harui <ah...@adobe.com> wrote:

> Hi,
> 
> I just finished a first attempt at another way of trying to make it easier
> for folks to get started with FlexJS.  As you may know, in Flash Builder
> doesn't know how to make a new FlexJS project.  We've been instructing
> folks to create a new Flex project, then copy an existing FlexJS example
> into the project folder and rename it and some variables in the example.
> I just put together some new launch configs that do the copy and rename
> for you, so you can now 1) create a new Flex project, then 2) choose Run,
> External Tools, then Convert New Flex Project to FlexJS Project and it
> will copy a "Hello World" example into the project.
> 
> I also created a config called Convert New Flex Project to FlexJS MVC
> Project that copies DataBindingExample, then I got to thinking that we
> should have some other more template like example (sort of what I think
> Carlos was asking about) that serves as more of a starting point than a
> mini-example.  It would have more comments in the code about where to put
> things, for example.  These could then be used outside of FlashBuilder as
> well.
> 
> Anyway, please try out the configs to make sure they work and suggest or
> implement improvements to the workflow.  To install the configs, install
> the nightly build, choose File, Import, Run/Debug, Launch Configurations,
> then choose the launch configs from under ide/flashbuilder.
> 
> Thanks,
> -Alex
>