Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The list of existing modules to be included in collection #1

Open
devolonter opened this issue Feb 24, 2013 · 18 comments
Open

The list of existing modules to be included in collection #1

devolonter opened this issue Feb 24, 2013 · 18 comments
Labels

Comments

@devolonter
Copy link
Member

Let's make a list of existing modules that we can include in the collection.

@devolonter
Copy link
Member Author

@frameland
Copy link
Member

I have a pretty well tested css class,
Would that be needed or is css to exotic?

@devolonter
Copy link
Member Author

It would be great to have css class in collection, I think. So, I vote for it.

@swoolcock
Copy link

As I mentioned on the Monkey forums, the Diddy XML parser is available too (minus dependencies). You can take the Base64 stuff from Diddy too if you want.

@devolonter
Copy link
Member Author

@swoolcock Thanks for suggestion! XML module from @skn3 suits us very well. Moreover, Jonathan is a part of our team and he will support it by himself.

As for Base64, thank you for permission! We'd love to include it in the collection.

@swoolcock
Copy link

When I offered the Base64 stuff I was kinda hinting that I wanted to join the team. :)

@devolonter
Copy link
Member Author

Excellent! I’ve added you to the team, now you can create repositories and push them. Welcome! :)

P.S. I am sorry for late and rare answers. I'm a little busy right now. This weekend I will prepare some wiki documents about development and structure of the collection so that we can discuss it. And I think we will start to work next week.

@therevills
Copy link

With the XML parser you will should test all that is available for speed, functionality and reliability. Also it may pay to look into using native commands to parse the XML.

@swoolcock
Copy link

As soon as we extern the XML, we lose control over its platform independence. We'd need some really good unit tests.

@therevills
Copy link

True, but if we had the standard functions defined in Monkey and extern them to the native code the speed would be near perfect. If need be you could add "fixes" around the code based on the differences...

And really isnt this what Monkey/Mojo current classes/function do themselves at the end of the day...

@skn3
Copy link
Member

skn3 commented Feb 28, 2013

I think one of the rules for this pub collection should be that everything is monkeycode, or at least will work on all future platforms without requiring new code.

It's definitely a lot more tedious work to wrap cross target native stuff into a common interface. Best to keep things in monkeycode so it will be compatible with all future targets. A good example would be the blitzmax target; if we switched to native libs we would have to find a solution for that. Brucey's Libxml could be used but your then complicating the requirements and over complicating the nature of pub.

There is no reason we can't optimise important things over time?.

@therevills
Copy link

If everything is going to be Monkey code, then it really limits what modules you are going to do... it all depends on your objectives.

@skn3
Copy link
Member

skn3 commented Feb 28, 2013

Myn is just one opinion, so not the final word. I just pictured the pub repo being for core functionality that people can use in all of their projects on any target.

Maybe monkeycode only is a bit ambitious? I guess we need to decide if pub should support all targets?

@swoolcock
Copy link

Really, I think we should aim for 99% pure Monkey code. Any externs
should be in their own submodule, clearly marked as such. Maybe
something like pub.native?
Anything that's not supported by a particular target should either have
a stub method, or wrapped with:

#If TARGET=(supported target) ...
' code
#Else
#Error "Unsupported on this target."
#End

@devolonter
Copy link
Member Author

I mentioned native code in wiki. I think this is a reasonable approach

@therevills
Copy link

Sounds good to me :)

Actually I really like the idea of trying to use MonkeyCode if the native code doesnt exist... might use that for Diddy ;)

@skn3
Copy link
Member

skn3 commented Mar 5, 2013

There is a good example here: (wrapper.monkey) http://code.google.com/p/chartboost-monkey/ monkeycode emulation for the chartboost functionality.

@frameland
Copy link
Member

Tweening module: http://www.monkeycoder.co.nz/Community/posts.php?topic=4173
No dependencies on mojo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants