You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
layout of “system” skeletons/ = tarballs & content for base tutorial
exercises/ = subdir per chapter? containing tests/ dir, lib/ containing full
solution needed up until this chapter to solve
the current test, minus whatever the test is testing. overlay this onto the user’s lib dir
if requested, or they haven’t done previous codings.
How to keep track which items the user has done?
Individual items done, so far, bookmarks and exercise results can be used as “latest activities”
Docs in module code, do we set AUTHOR / etc for the user?
Ch1 - setup of dbic schema files
When to create the user’s coding environment?
on login and/or register, with checkbox
needs more explainng of what it is, and that it will take a while.
How to set/change perms on the coding env (to ‘progtorial’)
Need sudo to run mknod!
Setup
Install perlbrew’d 5.10.1 / 5.12.x in a clean location
Install DBIx::Class and deps in the perlbrew
Create bare skeleton of dbic tutorial (makefile, basic schema)
Coding
“Clone” new user environment
Hardlink the perlbrew and dep modules (by path so user of progtorial can supply their own)
Copy / unpack the bare skeleton into user env
Setup webframework to build the dbic tutorial application in
Install catalyst (in its own perlbrew/locallib?)
Set up authentication (CatalystX::Login?)
Compiling / testing user code
Figure out how to run all these chrooted
Compile user code, report results
Run user code against applicable test suite / file, report results
Output test cover results to somewhere the application can display them
User profile maint/management
Password reminder/reset
Change my password
Edit account details/email etc
View my exercises/tutorials/tarballs
Download my tarballs
Privacy settings show/don’t show (default not?) my recent attempts/exercises/bookmarks in the activity list
Goes for both main page and when other user view’s my home page
Will always show for user themselves
On main page, show “N other updates” for the hidden ones, and add a link “Why don’t I see my updates here?”
for confused users who haven’t enabled priv settings
User settings
User bookmarks, store per tutorial - user has_many bookmarks (tutorial/exercise)
Automatic bookmarking, on/off
Tutorials in DB, virtual, ::FS ?
Front-end
Setup single chapter page (Markdown / TT)
Make chapter page interactive if user logged in
Show appropriate exercise form when user logged in
Set exercise hidden field on exercise form
‘Validate’ exercise form
Setup tutorial pages layout, use html links to start/next/previous/contents etc
Setup minimal navigation (to all pages from any)
Create initial tutorial page to add interactivity to
Show/implement login/register forms inline?
Add “tutorials” section + pages
Port rest of DBIC tutorial
Features
Download tarball of your current solution
Download tarball of site solution
Show exercise in separate window/tab/split screen?
Show chapter on separate pages, instead of big scrolly chapter?
POD support, using =begin exercise, or just TT inserts ?
Developers area
Upload tutorials
Beta / review new tutorials
Ratings
Reccomentations / friends
Points / comparison system
% tutorial done/completed
“Skip ahead” feature
Instructions on how to set up your own coding env, download tarball etc
Display somewhere/somehow the currently installed/available modules on the system?