FOAM3

82 views
Skip to first unread message

Kevin Greer

unread,
Nov 1, 2019, 2:36:36 PM11/1/19
to foam-framework-discuss
We are starting on collecting requirements for FOAM3. Please reply to this message with suggestions.

Mike Carcasole

unread,
Nov 1, 2019, 2:48:16 PM11/1/19
to foam-framework-discuss
I suggest suffixing anything that extends foam.core.Property with Property. For example, foam.core.String would be foam.core.StringProperty

I have a fork where I've done this. The main reason I did it was to allows cross platform generation of these classes to be a little easier to work with. I was experimenting with generating axioms in java but generating a foam.core.String caused a ton of compilation errors because any reference to "String" in the foam.core package thought I was referring to a foam.core.String rather than a java.lang.String.

It should also reduce confusion with what's happening when you declare something as "class: 'StringProperty'" because I don't think most people really understand that "class: 'String'" refers to the Property. We saw people frequently making this mistake with declaring method arguments.

It's a little extra to type when declaring properties and my muscle memory keeps forgetting about it so I'm still making mistakes frequently but overall I think this is a good change to have.

If you're interested in my fork, you can view it here: https://github.com/mcarcaso/foam2/tree/JavaOverhaul
There's still a ton to clean up there but I'm taking a stab at java generation without any hand written classes and without the need for PropertyInfo and ClassInfo that are separate from the axioms that make up a class.

Kevin Greer

unread,
Nov 1, 2019, 3:05:16 PM11/1/19
to foam-framework-discuss
Things we plan on changing (so far):
  1. Renaming foam.core to foam.mode.
  2. Renaming foam.nanos to foam.core, where CORE = Context-Oriented Runtime Environment
  3. Upgrading Java support from Java 8 to Java 11 (or whatever most recent appropriate version), at least for server code. Will still need to support Java 8 for Android apps.
  4. Remove Angular and Polymer support.
  5. Remove deprecated methods in U2 and elsewhere
  6. Replace BeanShell with JavaShell

On Fri, 1 Nov 2019 at 14:36, Kevin Greer <kgrg...@gmail.com> wrote:
We are starting on collecting requirements for FOAM3. Please reply to this message with suggestions.

--
You received this message because you are subscribed to the Google Groups "foam-framework-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foam-framework-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/foam-framework-discuss/9d34fe4e-9440-40f4-a9fe-9334101e5002%40googlegroups.com.

Kevin Greer

unread,
Apr 6, 2021, 2:36:06 PM4/6/21
to foam-framework-discuss
FOAM3 has launched at: https://github.com/kgrgreer/foam3

Here's a list of changes and planned changes:

Reply all
Reply to author
Forward
0 new messages