CastleDB

483 views
Skip to first unread message

Nicolas Cannasse

unread,
Oct 21, 2013, 4:17:43 AM10/21/13
to haxe...@googlegroups.com
Hi,

I'm please to announce the first release of CastleDB.
CastleDB is a structured static database, entirely written in Haxe.
Check http://castledb.org to learn more & download.

Best,
Nicolas

Stephane Le Dorze

unread,
Oct 21, 2013, 4:29:40 AM10/21/13
to haxe...@googlegroups.com
Requiers Haxe 3.2+? typo?
"Castle library require either Haxe 3.2+ or a recent Haxe build to work"

David Elahee

unread,
Oct 21, 2013, 4:31:11 AM10/21/13
to haxe...@googlegroups.com
Great ! 


2013/10/21 Nicolas Cannasse <ncan...@gmail.com>


--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
--- You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/groups/opt_out.



--
David Elahee


Cambiata

unread,
Oct 21, 2013, 4:36:57 AM10/21/13
to haxe...@googlegroups.com
Wow! :-)


whitetigle

unread,
Oct 21, 2013, 4:48:57 AM10/21/13
to haxe...@googlegroups.com
Cool!
Good idea :)

Le 21/10/2013 10:17, Nicolas Cannasse a �crit :
--
ThinkSlow -
cross-platform gaming experiments

( who ? why ? what ? ) -> http://www.thinkslow.net
( how ? when ? ) -> http://blog.thinkslow.net

Nicolas Cannasse

unread,
Oct 21, 2013, 4:50:17 AM10/21/13
to haxe...@googlegroups.com
Le 21/10/2013 10:29, Stephane Le Dorze a �crit :
> Requiers Haxe 3.2+? typo?
> "Castle library require either Haxe 3.2+ or a recent Haxe build to work"

Once Haxe 3.2 will be released this will be ok:)

Best,
Nicolas

Dan Korostelev

unread,
Oct 21, 2013, 5:37:19 AM10/21/13
to haxe...@googlegroups.com
I did check it out and it looks really great for game data! We got similar system but based on multiple JSON files and JSON-schema for data types.

CastleDB solution looks nicer though and friendlier to game designers who use spreadsheets first anyway, so go nicolas! :)

BTW, does Castle supports single object field type? I only found list with defined fields, but sometimes it's useful to have an object within an object to group settings.

понедельник, 21 октября 2013 г., 12:17:43 UTC+4 пользователь Nicolas Cannasse написал:

Nicolas Cannasse

unread,
Oct 21, 2013, 5:44:53 AM10/21/13
to haxe...@googlegroups.com
Le 21/10/2013 11:37, Dan Korostelev a écrit :
> I did check it out and it looks really great for game data! We got
> similar system but based on multiple JSON files and JSON-schema for data
> types.
>
> CastleDB solution looks nicer though and friendlier to game designers
> who use spreadsheets first anyway, so go nicolas! :)
>
> BTW, does Castle supports single object field type? I only found list
> with defined fields, but sometimes it's useful to have an object within
> an object to group settings.

ATM you would use a Reference to another sheet, but yes it could be
possible to have a Single type that's similar to List but is not an Array.

Best,
Nicolas

Niels van Dijk

unread,
Oct 21, 2013, 6:23:36 AM10/21/13
to haxe...@googlegroups.com
This looks like something that could replace our Google Docs / spreadsheet -> JS JSON parser spaghetti solution. 

However, we already have a large structured dataset in JSON. It should be easy to import this into CastleDB and it should be able to suggest data types, right? Is this something you are considering or should I just start building it up from scratch?

Guilherme Silva

unread,
Oct 21, 2013, 7:37:19 AM10/21/13
to haxe...@googlegroups.com
It looks amazing, congrats! :)

Postite

unread,
Oct 21, 2013, 7:53:02 AM10/21/13
to haxe...@googlegroups.com
Looks cool ! 
But no Date support ?


--

Nicolas Cannasse

unread,
Oct 21, 2013, 7:53:26 AM10/21/13
to haxe...@googlegroups.com
Le 21/10/2013 12:23, Niels van Dijk a �crit :
> This looks like something that could replace our Google Docs /
> spreadsheet -> JS JSON parser spaghetti solution.
>
> However, we already have a large structured dataset in JSON. It should
> be easy to import this into CastleDB and it should be able to suggest
> data types, right? Is this something you are considering or should I
> just start building it up from scratch?

Yes you should be able to create the data model with castleDB, then
paste your existing content into it.

Best,
Nicolas

Nicolas Cannasse

unread,
Oct 21, 2013, 7:54:10 AM10/21/13
to haxe...@googlegroups.com
Le 21/10/2013 13:53, Postite a �crit :
> Looks cool !
> But no Date support ?

It's a static DB, Dates are not much useful in that case.

Best,
Nicolas

Justin L Mills

unread,
Oct 21, 2013, 8:07:18 AM10/21/13
to haxe...@googlegroups.com
Will this tech embed in swf as a static inline var for small filesize
swf's or similar, specifically I am thinking of animation timing data
that would have used xml?

Juraj Kirchheim

unread,
Oct 21, 2013, 8:17:58 AM10/21/13
to haxe...@googlegroups.com
Well, you could have time-based stuff if you're looking at MMOs, e.g.
a shop item available only between date x and date y.

Anyway, great work! :)

On Mon, Oct 21, 2013 at 1:54 PM, Nicolas Cannasse <ncan...@gmail.com> wrote:
> Le 21/10/2013 13:53, Postite a écrit :
>
>> Looks cool !
>> But no Date support ?
>
>
> It's a static DB, Dates are not much useful in that case.
>
>
> Best,
> Nicolas
>

Nicolas Cannasse

unread,
Oct 21, 2013, 8:18:05 AM10/21/13
to haxe...@googlegroups.com
Le 21/10/2013 14:07, Justin L Mills a �crit :
> Will this tech embed in swf as a static inline var for small filesize

Yes, everything is inlined so the structures should be entirely
eliminated after compilation.

Best,
Nicolas



Rob Fell

unread,
Oct 21, 2013, 11:55:57 AM10/21/13
to haxe...@googlegroups.com
Very useful, thank you. I can see it is a real painkiller!
Is there a way to clone an existing row, or clone by column reference?

On Monday, 21 October 2013 05:18:05 UTC-7, Nicolas Cannasse wrote:
Le 21/10/2013 14:07, Justin L Mills a �crit :

Nicolas Cannasse

unread,
Oct 21, 2013, 2:39:20 PM10/21/13
to haxe...@googlegroups.com
Le 21/10/2013 17:55, Rob Fell a �crit :
> Very useful, thank you. I can see it is a real painkiller!
> Is there a way to clone an existing row, or clone by column reference?

You can copy/insert/paste

Dan Korostelev

unread,
Oct 22, 2013, 4:19:03 PM10/22/13
to haxe...@googlegroups.com
Yeah, sub-objects would be nice, because they are not worth of a separate sheet, not being an entity themselves.

Too bad though that I can't reccomend CastleDB to my friends (and frankly even use it myself in production) currently, because the library depends on an unreleased Haxe version and it's kinda frustrating to parse it as plain JSON when we use Haxe for the code.

Is there many Haxe 3.1+ specific features in use that are hard to sidestep to make it work with Haxe 3.0? Or maybe you plan to release new Haxe soon? ;-)

понедельник, 21 октября 2013 г., 13:44:53 UTC+4 пользователь Nicolas Cannasse написал:

Nicolas Cannasse

unread,
Oct 23, 2013, 1:32:06 AM10/23/13
to haxe...@googlegroups.com

Given that sheets reference each others I have added a Context.defineModule that allows you to define several types at once. You can still use CastleDB editor without haxe integration.

We are planning a 3.1.0 "unstable" release in a few weeks.

Best,
Nicolas

Dion Whitehead Amago

unread,
Oct 24, 2013, 10:24:41 AM10/24/13
to haxe...@googlegroups.com
Awesome and super useful.  Nice example of using node-webkit also!

Justin L Mills

unread,
Nov 1, 2013, 10:34:32 AM11/1/13
to haxe...@googlegroups.com
Can CastleDB be compiled to PHP, have a new project coming up but I
suspect I will be limited with what tech I can use on the clients
servers, I am asking the question but curious about what targets work
with CastleDB potentially.



On 21/10/2013 08:17, Nicolas Cannasse wrote:

Nicolas Cannasse

unread,
Nov 1, 2013, 1:06:59 PM11/1/13
to haxe...@googlegroups.com
Le 01/11/2013 15:34, Justin L Mills a �crit :
> Can CastleDB be compiled to PHP, have a new project coming up but I
> suspect I will be limited with what tech I can use on the clients
> servers, I am asking the question but curious about what targets work
> with CastleDB potentially.

The IDE itself is JQuery + Node Webkit so will have to be modified to
work online. The macros for integrating the data model are entirely
cross platform.

Best,
Nicolas

Marcelo Serpa

unread,
Nov 1, 2013, 7:36:39 PM11/1/13
to haxe...@googlegroups.com
I can see a nice use case for CastleDB -- localeapp[1] for Haxe apps. I currently use it for my Rails apps and it greatly simplifies translating an app, and even acts as a simple i18n/i10n-aware CMS. 

The idea of hosting it in the cloud is great as well.

Cheers,

Marcelo.


-- 
Marcelo

On Friday, November 1, 2013 at 11:06 AM, Nicolas Cannasse wrote:

Reply all
Reply to author
Forward
0 new messages