Update (19/4/2011): New screenshots and Todo list of first preview
In the last post I introduced my latest effort: Calliope. As a further step I want to share with you a little more about the challenges and problems of the project, and about the solutions I came up with. Here is what I am going to write about:
- Data model – how the game is represented in SQL tables, and how this relates to real-time problems;
- Services Design – how the data model is being published by a series of RESTful web services;
- The Server – building the services to serve data using symfony 2;
- Sproutcore data sources – getting access to the data from the client;
- Sproutcore and Rapahel – something about the integration layer I built among the two libraries;
- Building the board – a little insight on how the game board – the main component of the client – has been built;
- Real-time magic – how real-time playing is ultimately achieved in the client.
I am going to publish one post (or more) for each point in the list, about once a week. If you have preferences about what topic I should cover first or questions about the project, just let me know in the comments (or even in private if you prefer) and I’ll do my best to answer.
Advertisement
Is a ver nice Sproutcore example, right now im working on a
Sproutcore project and I’m having some difficulties on the dataSource,
I really would like to now more about the section of Sproutcore data sources
Thanks for the info
I published the first part of the post about data sources, you can find it here:
http://wp.me/pKmVR-3b
hope you find it useful
Second part here: http://wp.me/pKmVR-3p
Last part here: http://wp.me/pKmVR-49
Hi Carlos, it’s a pleasure to have a reply, finally
Regarding your question, I too had a hard time figuring out how data sources worked in Sproutcore and I’ll be glad to write a post about that as soon as possible. The guides and the wiki contain some examples about them, but there is no real “big picture” explanation out there.
In the meantime, if you have a more specific problem or question regarding your application you could write it down here and we could try to find a solution together.