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 received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/silverstripe-dev/-/BziuzeSKXXsJ.
> To post to this group, send email to silverst...@googlegroups.com (mailto:silverst...@googlegroups.com).
> To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com (mailto:silverstripe-d...@googlegroups.com).
> For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.
> 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.
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.
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.
> --
> You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
Done: https://github.com/silverstripe-themes/silverstripe-simple/commit/44cec3d0ac439cc54f6881b045932a7cf0be6f4e
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 received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/silverstripe-dev/-/2A1mN_gpqkIJ.
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.
--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/silverstripe-dev/-/sQNZxUx7k6AJ.
To post to this group, send email to silverst...@googlegroups.com.
To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.
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:
I have completed my first edit on tutorial 2:
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.
@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?
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?
>> To post to this group, send email to silverstripe-dev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> For more options, visit this group at
>> http://groups.google.com/group/silverstripe-dev?hl=en.
>
>
>
> --
> Andy Adiwidjaja // Partner Strategie & IT
>
> Adiwidjaja Teamworks GmbH // Aktive und Interaktive Kommunikation
> Königstraße 16 // 22926 Ahrensburg // www.adiwidjaja.com
>
> a...@adiwidjaja.com // 04102 208456 // 0179 5456465
>
> --
> You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
> To post to this group, send email to silverstripe-dev@googlegroups.com.
> To unsubscribe from this group, send email to silverstripe-dev+unsubscribe@googlegroups.com.