Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
We need help to update our tutorials to 3.0 APIs and the new default theme
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 31 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ingo Schommer  
View profile  
 More options Mar 14 2012, 9:48 am
From: Ingo Schommer <ingo.schom...@gmail.com>
Date: Wed, 14 Mar 2012 06:48:34 -0700 (PDT)
Local: Wed, Mar 14 2012 9:48 am
Subject: We need help to update our tutorials to 3.0 APIs and the new default theme

Hey everybody! If you always wanted to contribute to core,
but didn't feel up to writing the PHP for it, here's a great way you can
help out:
We need somebody to go through our five introductory tutorials, and make
sure they are up to date with SS3, as well as using the new default theme:
http://open.silverstripe.org/ticket/7023

These tutorials are the entry point for many of our developers,
so you have the chance to make a big impact to the overall product.
Note: We're not looking for a complete rewrite, simply maintenance and
clarification.

If you are keen, please let me know and we can go through the details!

Thanks!
Ingo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Adiwidjaja  
View profile  
 More options Mar 14 2012, 12:48 pm
From: Andy Adiwidjaja <adiwidj...@gmail.com>
Date: Wed, 14 Mar 2012 09:48:33 -0700 (PDT)
Local: Wed, Mar 14 2012 12:48 pm
Subject: Re: We need help to update our tutorials to 3.0 APIs and the new default theme

Hi Ingo,

I really would like to work on this but I think I won't be fast... if
completion in "the next weeks" is ok, I can do this.

I like that the tutorial starts from a bare template at the moment and
creates a menu from scratch. Maybe we should
create a new tutorial skin to start from?

I have many more ideas but I would first concentrate on making it work. The
most annoying work will be making
the new screenshots...

Andy

Am Mittwoch, 14. März 2012 14:48:34 UTC+1 schrieb Ingo Schommer:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gordon Anderson  
View profile  
 More options Mar 14 2012, 1:21 pm
From: Gordon Anderson <gordon.b.ander...@gmail.com>
Date: Thu, 15 Mar 2012 00:21:38 +0700
Local: Wed, Mar 14 2012 1:21 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

Just a thought but could Capybara be used to automate the screenshotting?
 It would mean writing a script to drive the browser but it would mean that
future 're screenshotting' could be done more easily

G


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ingo Schommer  
View profile  
 More options Mar 14 2012, 1:23 pm
From: Ingo Schommer <i...@silverstripe.com>
Date: Wed, 14 Mar 2012 18:23:27 +0100
Local: Wed, Mar 14 2012 1:23 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme
Hey Andy, I think "next weeks" is a fine,  
as long as it doesn't get into "next months" (plural)
Don't you love open source deadline agreements? ;)

It'd be good to see some work in progress fairly soon though.
And I'm still open to other offers if they can start sooner,
it sounds like a big enough task to benefit from collaboration.

On starting with a bare theme, my motivation is mostly the
maintenance overhead - I don't want to maintain  
a fork of the 'simple' theme just for the tutorials.
This forking lead us to the current situation of having
two visually quite distinct default skins (blackcandy and tutorial) in the first place.

But also: The theme markup is simple enough to use as a tutorial,
and overall I think that SS newbies will learn faster if they can
tinker with (smaller) existing stuff anyway, than if they have to copypaste
template fragments from a website into the right place.

As far as CSS goes, I would suggest that we remove all
related instructions from the tutorials - its not about learning
CSS after all, and even the 'simple' theme CSS is way too complex for that.
We should limit our focus to filesystem conventions, and how its included in SS.

Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Minnée  
View profile  
 More options Mar 14 2012, 4:16 pm
From: Sam Minnée <s...@silverstripe.com>
Date: Thu, 15 Mar 2012 09:16:43 +1300
Local: Wed, Mar 14 2012 4:16 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

On 15/03/2012, at 6:21 AM, Gordon Anderson wrote:

> Just a thought but could Capybara be used to automate the screenshotting?  It would mean writing a script to drive the browser but it would mean that future 're screenshotting' could be done more easily

PHP-WebDriver is another option for that, which has the advantage of being in PHP.

It would end up being a lot more work than just taking screenshots, but you're right about maintainability.  If someone was keen to try one of these tools out, they might want to work with Andy to produce a suitable set of scripts.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Adiwidjaja  
View profile  
 More options Mar 14 2012, 7:11 pm
From: Andy Adiwidjaja <adiwidj...@gmail.com>
Date: Wed, 14 Mar 2012 16:11:32 -0700 (PDT)
Local: Wed, Mar 14 2012 7:11 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

Hi!

Am Mittwoch, 14. März 2012 18:23:27 UTC+1 schrieb Ingo Schommer:

> Hey Andy, I think "next weeks" is a fine,  
> as long as it doesn't get into "next months" (plural)
> Don't you love open source deadline agreements? ;)

> It'd be good to see some work in progress fairly soon though.

I'm planning to make it work first and then make improvements. I will start
asap.

> On starting with a bare theme, my motivation is mostly the maintenance
> overhead - I don't want to maintain a fork of the 'simple' theme just for
> the tutorials.This forking lead us to the current situation of having two
> visually quite distinct default skins (blackcandy and tutorial) in the
> first place.

Ok.

> But also: The theme markup is simple enough to use as a tutorial, and
> overall I think that SS newbies will learn faster if they can tinker with
> (smaller) existing stuff anyway, than if they have to copypaste template
> fragments from a website into the right place.

Ok, I have some experience with students learning silverstripe with the
tutorials. They began to understood the structure of the silverstripe
objects when they wrote code themselves, even when they copied it. But I
can show that on top of the theme, maybe with a content listing.

> As far as CSS goes, I would suggest that we remove all related
> instructions from the tutorials - its not about learning CSS after all, and
> even the 'simple' theme CSS is way too complex for that. We should limit
> our focus to filesystem conventions, and how its included in SS.

Agreed.

Cheers,

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Adiwidjaja  
View profile  
 More options Mar 14 2012, 7:15 pm
From: Andy Adiwidjaja <adiwidj...@gmail.com>
Date: Wed, 14 Mar 2012 16:15:53 -0700 (PDT)
Local: Wed, Mar 14 2012 7:15 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

@Sam, @Gordon:

I don't think automatic screenshots will help here. The screenshots must be
annotated and cropped. I will try to make updating screens easier in the
future.

Cheers,

Andy

Am Mittwoch, 14. März 2012 21:16:43 UTC+1 schrieb Sam Minnée:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Adiwidjaja  
View profile  
 More options Mar 14 2012, 8:00 pm
From: Andy Adiwidjaja <adiwidj...@gmail.com>
Date: Wed, 14 Mar 2012 17:00:56 -0700 (PDT)
Local: Wed, Mar 14 2012 8:00 pm
Subject: Re: We need help to update our tutorials to 3.0 APIs and the new default theme

One question: Is the theme that is used on http://doc.silverstripe.org/
available somewhere so I can preview the documentation with the theme?

Another question: The simple theme uses the <% control %>-Syntax. Is this
intentionally to support ss2.4? Should this be changed, as I want
to write about the new syntax?

Andy

Am Mittwoch, 14. März 2012 14:48:34 UTC+1 schrieb Ingo Schommer:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Minnée  
View profile  
 More options Mar 14 2012, 8:35 pm
From: Sam Minnée <s...@silverstripe.com>
Date: Thu, 15 Mar 2012 13:35:42 +1300
Local: Wed, Mar 14 2012 8:35 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme
I think that's because the simple theme developer didn't know about the new controls.  We should patch the theme to use the 3.0 commands.

On 15/03/2012, at 1:00 PM, Andy Adiwidjaja wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ingo Schommer  
View profile  
 More options Mar 15 2012, 6:29 am
From: Ingo Schommer <i...@silverstripe.com>
Date: Thu, 15 Mar 2012 11:29:52 +0100
Local: Thurs, Mar 15 2012 6:29 am
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme
Done: https://github.com/silverstripe-themes/silverstripe-simple/commit/44c...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Adiwidjaja  
View profile  
 More options Mar 15 2012, 5:25 pm
From: Andy Adiwidjaja <adiwidj...@gmail.com>
Date: Thu, 15 Mar 2012 14:25:54 -0700 (PDT)
Local: Thurs, Mar 15 2012 5:25 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

Am Donnerstag, 15. März 2012 11:29:52 UTC+1 schrieb Ingo Schommer:

Great :-)

What about the doc.silverstripe.org-Theme, is it available somewhere? I
would like to test different image sizes and to use features like the
information boxes:

<div class="notice" markdown='1'>
</div>

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ingo Schommer  
View profile  
 More options Mar 15 2012, 5:34 pm
From: Ingo Schommer <i...@silverstripe.com>
Date: Thu, 15 Mar 2012 22:34:18 +0100
Local: Thurs, Mar 15 2012 5:34 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme
Hey Andy,  

It uses the sapphiredocs module: https://github.com/silverstripe/silverstripe-sapphiredocs
The doc.ss.org codebase itself isn't open source (simply because we didn't have time or demand for it),
but it uses more or less standard sapphiredocs, so you should be able to get close enough.

Ingo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Adiwidjaja  
View profile  
 More options Mar 15 2012, 6:52 pm
From: Andy Adiwidjaja <adiwidj...@gmail.com>
Date: Thu, 15 Mar 2012 15:52:25 -0700 (PDT)
Local: Thurs, Mar 15 2012 6:52 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

Hi,

Am Donnerstag, 15. März 2012 22:34:18 UTC+1 schrieb Ingo Schommer:

> It uses the sapphiredocs module:
> https://github.com/silverstripe/silverstripe-sapphiredocs
> The doc.ss.org codebase itself isn't open source (simply because we
> didn't have time or demand for it),
> but it uses more or less standard sapphiredocs, so you should be able to
> get close enough.

Ah, sorry. I installed the sapphiredocs module, but I did it wrong (with a
theme) so I got a plain view - I thought this is intentional and I am
missing a theme.

Now I got it, it's really close enough.

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cam Findlay  
View profile  
 More options Mar 25 2012, 4:46 pm
From: Cam Findlay <c...@camfindlay.com>
Date: Sun, 25 Mar 2012 13:46:12 -0700 (PDT)
Local: Sun, Mar 25 2012 4:46 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

Hey Andi,

Looks like I started to work on the same stuff at the last hackfest.

How far have you got with the tutorials? I am happy to collab on this but
what will be the best way to work?

I have a github branch I started working
in: https://github.com/cam-findlay/sapphire/tree/7023-tutorials but if you
have done the same perhaps I can simply be a second eye over your work
which is always a good thing.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Adiwidjaja  
View profile  
 More options Mar 26 2012, 6:11 am
From: Andy Adiwidjaja <adiwidj...@gmail.com>
Date: Mon, 26 Mar 2012 03:11:53 -0700 (PDT)
Local: Mon, Mar 26 2012 6:11 am
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

Hey Cam,

no problem, I mainly worked on the child-theme topic which I saw as a
precondition for the tutorial. But overall I hadn't enough time last week.
So, I'm happy with any help. I looked at your branch and it looks good, I
will integrate it into my branch.

Andy

Am Sonntag, 25. März 2012 22:46:12 UTC+2 schrieb Cam Findlay:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cam Findlay  
View profile  
 More options Mar 26 2012, 5:47 pm
From: Cam Findlay <c...@camfindlay.com>
Date: Mon, 26 Mar 2012 14:47:33 -0700 (PDT)
Local: Mon, Mar 26 2012 5:47 pm
Subject: Re: [silverstripe-dev] Re: We need help to update our tutorials to 3.0 APIs and the new default theme

Cheers... ok I will keep working on the tutorials section then... in a
similar boat... Uni assignments coming up this week but should be free to
make progress next week... keep an eye on the branch :)

I can see some of the tutorials need to be changed slightly due to the new
layouts etc and that the page editing panels are now split up into separate
menu items.

Will keep you posted here, maybe get together on Skype to go over things
soon?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
camfindlay  
View profile  
 More options Apr 12 2012, 9:00 pm
From: camfindlay <c...@camfindlay.com>
Date: Thu, 12 Apr 2012 18:00:57 -0700 (PDT)
Local: Thurs, Apr 12 2012 9:00 pm
Subject: Re: We need help to update our tutorials to 3.0 APIs and the new default theme

RIghto, just finished up tutorial one for
SS3.0 https://github.com/cam-findlay/sapphire/blob/7023-tutorials/docs/en/t...

Actually took quite a while as the changes in the Page and Edit page
layouts in the CMS from 2.4 is quite different and had to be reworded.

Same with the idea that we are not starting from a blank template... again
lots of rewording and dropping out irrelevant stuff... I can see this
might continue to take a while but at least a little progress made.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ingo Schommer  
View profile  
 More options Apr 13 2012, 10:51 am
From: Ingo Schommer <i...@silverstripe.com>
Date: Fri, 13 Apr 2012 16:51:52 +0200
Local: Fri, Apr 13 2012 10:51 am
Subject: Re: [silverstripe-dev] We need help to update our tutorials to 3.0 APIs and the new default theme

Hey Cam,

It's really coming together, thanks for your awesome work!
Added some inline comments on the commit:
https://github.com/cam-findlay/sapphire/commit/d63b06849d17051bf79e27...

It "flows" and reads well in general - although I think you can still
combine sentences into larger paragraphs
to visually form more logical units - it looks quite disjoint
and "bullet-pointy" at the moment.

The (sub-)headlines need some work, it should be easy to determine
what the article is about by scanning through them.
The hierarchy is also a bit off, e.g. "Highlighting the current page"
shouldn't be on the same level as "the navigation system"
(its a sub-chapter of it).

Anybody else keen to review?
I would be particularly interested in feedback
from any of your dev friends who have a working
knowledge of PHP, but haven't used SS yet.

All in all, very promising :)
Ingo

On 13/04/2012, at 3:00 AM, camfindlay wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ingo Schommer  
View profile  
 More options Apr 16 2012, 4:07 am
From: Ingo Schommer <ingo.schom...@gmail.com>
Date: Mon, 16 Apr 2012 01:07:02 -0700 (PDT)
Local: Mon, Apr 16 2012 4:07 am
Subject: Re: [silverstripe-dev] We need help to update our tutorials to 3.0 APIs and the new default theme

Hey Cam and Andi, how's the tutorial rewrite coming along?
You know that you can split up and just work on different tutorials at the
same time, right? :)
I've written up a ticket with some further
details: http://open.silverstripe.org/ticket/7157

That was done by quickly browsing through the tutorials, but looking
forward to
your suggestions how we can demonstrate the core concepts more effectively -
we don't have to rigidly follow every code example from the old tutorials
if it doesn't make sense any more in 3.0. One example is tutorial 5:
It should really use ModelAdmin to show off GridField (formerly
ComplexTableField),
because its such a popular feature in SilverStripe.

Thanks
Ingo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Adiwidjaja  
View profile  
 More options Apr 17 2012, 7:39 pm
From: Andy Adiwidjaja <adiwidj...@gmail.com>
Date: Tue, 17 Apr 2012 16:39:54 -0700 (PDT)
Local: Tues, Apr 17 2012 7:39 pm
Subject: Re: [silverstripe-dev] We need help to update our tutorials to 3.0 APIs and the new default theme

Hey Ingo and Cam,

sorry that I was so slow in responding and working, this is the first week
I can work on this topic again. I think we have to work in incremental
steps:

1. Make the tutorial work for 3.0 (remove wrong and deprecated stuff, make
use of simple theme, work on the issues on the ticket)
2. Make better use of the core concepts
3. Add features, do things differently

For example I think it is necessary to introduce a DropdownField in
tutorial 2 but this is level 2. I think it is better to use the child theme
stuff but this is level 3. I will try to push the level 1 work on every
tutorial in the next days.

I reviewed Cam's version of tutorial 1 and everything works.

I have completed my first edit on tutorial 2:
https://github.com/adiwidjaja/sapphire/blob/7023-tutorials/docs/en/tu...

Any feedback is welcome, I have some technical questions:
- How should I merge Cam's changes into my fork? I tried a git merge, but
this leads to a "merge commit". Or should we both make separated pull
requests?
- Tutorial 2 sets the icons in the cms. Should I copy these icons from the
tutorial theme to the simple theme? Or to the docs-folder?
- Is the usage of DataObject::get_one still correct? In this case it is not
needed at all but I will think about a better use of the datamodel-api
later.

@Cam: I will continue with tutorial 4.

@Ingo: Maybe we could couple tutorial 3 and 5 by implementing student
applications as the form example? As we have to rewrite tutorial 5
completely - maybe we should implement a completely different application
like the job board example in the book?

Cheers

Andy

Am Montag, 16. April 2012 10:07:02 UTC+2 schrieb Ingo Schommer:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ingo Schommer  
View profile  
 More options Apr 18 2012, 2:46 am
From: Ingo Schommer <i...@silverstripe.com>
Date: Wed, 18 Apr 2012 08:46:24 +0200
Local: Wed, Apr 18 2012 2:46 am
Subject: Re: [silverstripe-dev] We need help to update our tutorials to 3.0 APIs and the new default theme

Hello Andy,

Thanks, tutorial 2 is looking great :)

On 18/04/2012, at 1:39 AM, Andy Adiwidjaja wrote:

> sorry that I was so slow in responding and working, this is the first week I can work on this topic again. I think we have to work in incremental steps:

That's OK, the ticket I wrote can be split up if its more convenient.

> I have completed my first edit on tutorial 2:
> https://github.com/adiwidjaja/sapphire/blob/7023-tutorials/docs/en/tu...

Left some inline comments :)

> Any feedback is welcome, I have some technical questions:
> - How should I merge Cam's changes into my fork? I tried a git merge, but this leads to a "merge commit". Or should we both make separated pull requests?

Merge commits are fine, they help git figure out the best merging stategy going forward.
It means we can't easily merge your two codebases in isolation, but that's acceptable.
Might be more efficient to work on one remote though (one of you can give the other push rights on his repo fork).
> - Tutorial 2 sets the icons in the cms. Should I copy these icons from the tutorial theme to the simple theme? Or to the docs-folder?

Hmm, yeah lets copy them into the theme, as it makes copypaste easier.
Means we'll have to do the same dance when using a different theme for the tutorial in the future, but that's fine.
We could also link to http://www.famfamfam.com/lab/icons/silk/ for more icons.
> - Is the usage of DataObject::get_one still correct? In this case it is not needed at all but I will think about a better use of the datamodel-api later.

Yep, should be DataList::create().

> @Ingo: Maybe we could couple tutorial 3 and 5 by implementing student applications as the form example? As we have to rewrite tutorial 5 completely - maybe we should implement a completely different application like the job board example in the book?

Yep, they're both fairly close to realistic use cases (registration/submission and catalogue-style).
Feel free to get inspired by code from the book,
just don't copypaste anything directly (I would let you, but my publisher won't…).

Ingo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
camfindlay  
View profile  
 More options Apr 19 2012, 5:27 pm
From: camfindlay <c...@camfindlay.com>
Date: Thu, 19 Apr 2012 14:27:09 -0700 (PDT)
Local: Thurs, Apr 19 2012 5:27 pm
Subject: Re: [silverstripe-dev] We need help to update our tutorials to 3.0 APIs and the new default theme

Good stuff Andy,

I'll review your tutorial 2 as well... time is pretty short for me at the
moment with uni assessments due again but I'll start looking into tut 3 and
5. As Ingo mentions perhaps some sort of joint 3/5 tutorial might be
good... perhaps we can come up with a scenario that demonstrates the same
concepts but leaves the user with something tangible they can use for their
own site?

Job board could work, are there any other commonly used things that might
be better? I guess we just need to make sure that each of the
data-relationships are represented (has_one, has_many and many_many).
How about some sort of community events posting thing? has_one - date, time
& location, has_many - attendees (that can rsvp via the form we set up in
tut3), many_many - tags?

The merge stuff between doc content will be an interesting one... perhaps
we strip the entire docs folder out into its own repo (maybe on the
silverstripe github) with push rights for those of us working on it? then a
final move of the content back into sapphire/framework once it is deemed
useable by the public?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ingo Schommer  
View profile  
 More options Apr 21 2012, 5:28 am
From: Ingo Schommer <i...@silverstripe.com>
Date: Sat, 21 Apr 2012 11:28:30 +0200
Local: Sat, Apr 21 2012 5:28 am
Subject: Re: [silverstripe-dev] We need help to update our tutorials to 3.0 APIs and the new default theme

Hey guys,

On 19/04/2012, at 11:27 PM, camfindlay wrote:

> I'll review your tutorial 2 as well... time is pretty short for me at the moment with uni assessments due again but I'll start looking into tut 3 and 5. As Ingo mentions perhaps some sort of joint 3/5 tutorial might be good... perhaps we can come up with a scenario that demonstrates the same concepts but leaves the user with something tangible they can use for their own site?

The reason tutorial 5 exists is that we developed ModelAdmin and related features after 2.0,
and didn't want to alter the previous tutorials. Its an important enough aspect of the system
to bring it in earlier if it fits into the "story" of the tutorial IMHO.

> Job board could work, are there any other commonly used things that might be better? I guess we just need to make sure that each of the data-relationships are represented (has_one, has_many and many_many).
> How about some sort of community events posting thing? has_one - date, time & location, has_many - attendees (that can rsvp via the form we set up in tut3), many_many - tags?

One thing I learned the hard way writing the book: Write up the code examples first,
its very easy to come up with examples which require too much code to explain them,
watering down the message. E.g. you don't want to set up another RSVP form submission
if you've already explained the form API in an earlier tutorial, stuff like that.
I also think its important to choose a domain model that's clear enough so you
can explain it in a single sentence - there should be no logical ambiguity
about if something's a has_many or many_many for example.

> The merge stuff between doc content will be an interesting one... perhaps we strip the entire docs folder out into its own repo (maybe on the silverstripe github) with push rights for those of us working on it? then a final move of the content back into sapphire/framework once it is deemed useable by the public?

You won't have any merge conflicts when merging in code changes,
only from files you both modified (in /docs). That's why I suggested
to decide on one repo and give the respective other commit access.
I would advise against stripping it out into its own repo,
as you won't be able to submit (and update) pull requests to us easily.

Ingo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
camfindlay  
View profile  
 More options May 1 2012, 6:16 pm
From: camfindlay <c...@camfindlay.com>
Date: Tue, 1 May 2012 15:16:33 -0700 (PDT)
Local: Tues, May 1 2012 6:16 pm
Subject: Re: [silverstripe-dev] We need help to update our tutorials to 3.0 APIs and the new default theme

My time is super limited now till the end of June... I'll see what I can
get done... perhaps if we just keep it all simple and just update the
existing tutorials as they are to incorporate the new SS3.0 features.

Perhaps a full review of this section would be good once things have
stablised with 3.0 and some better tutorials which showcase and teach the
changes to the framework could be looked at.

I'm happy to write and explain if someone can come up with the multi-part
tutorial code example.

C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Minnée  
View profile  
 More options May 1 2012, 8:20 pm
From: Sam Minnée <s...@silverstripe.com>
Date: Wed, 2 May 2012 12:20:43 +1200
Local: Tues, May 1 2012 8:20 pm
Subject: Re: [silverstripe-dev] We need help to update our tutorials to 3.0 APIs and the new default theme
Hey Cam,

Completely understand that you're time is limited.  If you have any work in progress, perhaps you want to submit a pull request, so that someone else can help work on it as well if they have time?

Thanks,
Sam

On 2/05/2012, at 10:16 AM, camfindlay wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 31   Newer >
« Back to Discussions « Newer topic     Older topic »