WIP >> TryHaxe.org

132 views
Skip to first unread message

Tom Hoenderdos

unread,
Apr 18, 2012, 4:24:48 AM4/18/12
to haxe...@googlegroups.com

Hi there!

So in the next weeks / months I want to work on a project that i call TryHaxe.org.
At the WWX conference there have been some thoughts about how to make learning Haxe for everyone easier.
I am still learning Haxe everyday, and i'm missing a place to find sample code and best practices for writing Haxe.

I hope everyone want to contribute to this project, i am very interested in working together with everyone.

If you have any thoughts / cool ideas to make TryHaxe.org work, please let me know!

~Tom



You can contact me at:
twitter: @tomhoenderdos
Github: https://github.com/TomHoenderdos/TryHaxe

Jason O'Neil

unread,
Apr 18, 2012, 4:37:38 AM4/18/12
to haxe...@googlegroups.com

Awesome idea!

Off the top of my head:

1) js fiddle is awesome, copy that where possible. Eg. You can start without signing up, you can copy other examples etc.

2) have many (all?) haxelibs installed, so we can try anything.

3) ACE is a javascript code editor. It has haxe syntax highlighting already.

4) I imagine from a security perspective you could only target js / flash?

I think it's a great idea, with 3 solid use cases:

a) new people trying it out.
b) tutorials, demos, especially for showing haxelibs.
c) getting help: posting a snippet of code that is not working and letting others try fix it.

I'd be up for helping with such a project. If we used ufront it would also be a fantastic project to point to as a demo of a haxe web-app.

Jason
...

Sent from my phone, so apologies for any typos...

tom rhodes

unread,
Apr 18, 2012, 4:39:43 AM4/18/12
to haxe...@googlegroups.com
i'll contribute, i have a few things planned for blog posts once i get my site done...

simple example of Jquery in haxe
simple backend haxe example of using SPOD macros
simple remoting example with SPOD
simple rich text editor done in haxe with JS/Jquery
using erazor macro templates in ufront

... the process of doing my site will give me the info to do a lot more too. 

perhaps the best way to do it though woudl be to get a list of things someone coming to the language (from different perspectives, JS dev, AS3 dev, C++ dev, PHP dev, flash designer who knew some AS3 etc. etc.) would need to find out to get going and reach their objectives. then we can search the material that exists and find out what's missing and create it.

anyway, i would be very willing to help, if you think any of the above is usefull that is :)


Stéphane Cottin

unread,
Apr 18, 2012, 4:50:18 AM4/18/12
to haxe...@googlegroups.com
I'm totally agree, make learning Haxe for everyone easier is really important.

Having some sort of "pastebin" like *commented* samples and thoughts on the haxe website (with proper search possibilities) is a great idea.

I'm thinking about workshops , masterclasses, live coding events, etc ... which can be part of the foundation actions to spread haxe around the world, but as it way say many times @wwx, documentation and tutorials must be improved first.

Stéphane



Simon Krajewski

unread,
Apr 18, 2012, 4:50:36 AM4/18/12
to haxe...@googlegroups.com
Am 18.04.2012 10:24, schrieb Tom Hoenderdos:

Hi there!

So in the next weeks / months I want to work on a project that i call TryHaxe.org.
At the WWX conference there have been some thoughts about how to make learning Haxe for everyone easier.
I am still learning Haxe everyday, and i'm missing a place to find sample code and best practices for writing Haxe.

I hope everyone want to contribute to this project, i am very interested in working together with everyone.

If you have any thoughts / cool ideas to make TryHaxe.org work, please let me know!

It's a very neat idea, let me know if you come across a particular topic that you need an explanation for.

In my opinion the most important aspect of such a project is targetting your audience appropriately. The very first choice visitors should be presented with is something along the lines of "Haxe for (AS3 devs | Java devs | ... | people new to programming)". This way it's easy to focus on the important deltas between programming language X and haxe, instead of going about explaining the general syntax to people who will undoubtedly understand most of that. From these starting branches you will quickly come to a common trunk of haxe aspects.

Simon

Philippe Elsass

unread,
Apr 18, 2012, 5:25:37 AM4/18/12
to haxe...@googlegroups.com
Something targeting HTML5 (canvas fun) would probably make sense nowadays.

Then scenes templates will be needed for people to get started - like pure-canvas, jeash, processing.js, three.js externs,...

--



--
Philippe

Benjamin Dubois

unread,
Apr 18, 2012, 5:34:06 AM4/18/12
to haxe...@googlegroups.com
Nice idea, cause the first few weeks(days?) with haxe are the harder.
Once you get the language spirit and project setup done you can really enjoy it.

I'll help if I can.

Ben

Dinko Pavicic

unread,
Apr 18, 2012, 5:42:57 AM4/18/12
to haxe...@googlegroups.com
Xamarin guys (Monotouch / MonoDroid) did a great job with their 'Recipes' site for Monotouch/Monodroid.
Something like that for Haxe would be great and easy to graps for newcomers.

Check it out:

Valerie Elimak

unread,
Apr 18, 2012, 6:10:21 AM4/18/12
to haxe...@googlegroups.com
Great initiative, I would gladly help where I can!




--
Valerie Alloix

+31633042131
Skype: thisiselimak |  @elimak
ElimakKvk273.80.385 | VAT: NL259368775B01 | VAR/0127/259368775/

Ruben

unread,
Apr 18, 2012, 10:03:30 AM4/18/12
to haxe...@googlegroups.com
Hey Tom,

That's a great idea! I think you should create different starting points depending on what the visitor is looking for  (serverside dev, client-side dev, game dev, etc.).
I just came across http://haxelearning.wikispaces.com/ Not sure how old the content is, but maybe there's something useful in there..


Ruben

Simon Krajewski

unread,
Apr 18, 2012, 10:12:53 AM4/18/12
to haxe...@googlegroups.com

Oh my, that looks really nice and according to the changelog is also
very new (created march 30). We should definitely get the author to this
group somehow, I think there is great potential in a project like this.

Simon

tom rhodes

unread,
Apr 18, 2012, 11:34:43 AM4/18/12
to haxe...@googlegroups.com
so i suppose we should get a few people's perspectives on their starting points when they came to haxe. personally i was an AS3 dev who had learned some basic PHP and javascript along the way. so i can help there i suppose. 

if we get a couple of people for each group to just say what the difficulties were from their point of view and what they were looking for, then that would be a good start. after that we can get people together to write a specific tutorial that handles each of the issues.

i guess that we'd need JS devs points of view, PHP devs, AS3 devs as a basic starting point. although that could get grouped into server and client i suppose. i'm sure we can come up with a few more starting points though as i reckon there is a big diversity in core skills before haxe on this list.

Adam Harte

unread,
Apr 18, 2012, 5:50:57 PM4/18/12
to haxe...@googlegroups.com
This is a good idea. You might want to check out some similar sites as research. There are quite a few of them now. Here are some:

TryRuby is awesome! It is done amazingly well. I hope this helps and inspires.

Adam

Philipp Klose

unread,
Apr 18, 2012, 6:32:06 PM4/18/12
to haxe...@googlegroups.com
Not a programming language, but also very helpfull:

http://www.mongodb.org/#

Then click on "Try it out". It has a nice tutorial which helps you to
get started.

Am 18.04.2012 23:50, schrieb Adam Harte:
> This is a good idea. You might want to check out some similar sites as
> research. There are quite a few of them now. Here are some:
>

> * http://tryruby.org <http://tryruby.org/>
> * http://repl.it/#:languages (Could even add Haxe:
> https://github.com/replit )
> * http://jsdo.it/
> * http://studio.sketchpad.cc <http://studio.sketchpad.cc/>
> * http://www.openprocessing.org/

>
> TryRuby is awesome! It is done amazingly well. I hope this helps and
> inspires.
>
> Adam

Reply all
Reply to author
Forward
0 new messages