Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1831 (closed defect: migrated)

Opened 6 years ago

Last modified 3 years ago

Create "address book" tutorial

Reported by: mramm Owned by: mramm
Priority: normal Milestone: 2.1 docs
Component: Documentation Version: trunk
Severity: normal Keywords:
Cc: jorge.vargas

Description (last modified by percious) (diff)

Create a second "address book" tutorial with a more complex model, and more complex templates, which uses and explains widgets, Catwalk/Sprox? for setup, etc.

Attachments

Addressbook.rst Download (15.0 KB) - added by lszyba1 6 years ago.
Addressbook tutorial page
tg2welcome2.png Download (71.6 KB) - added by lszyba1 6 years ago.
image1
tg2address_form.png Download (12.4 KB) - added by lszyba1 6 years ago.
image2
toscawidget_data_grid.png Download (10.8 KB) - added by lszyba1 6 years ago.

Change History

comment:1 Changed 6 years ago by mramm

  • Owner changed from Chris Arndt to anonymous

comment:2 Changed 6 years ago by mramm

  • Milestone changed from 2.0-preview-2 to 2.0-preview-3

comment:3 Changed 6 years ago by lszyba1

Kind of working on similar thing: I'll let you know when done.  http://lucasmanual.com/mywiki/TurboGears2

comment:4 Changed 6 years ago by mramm

  • Milestone changed from 2.0-preview-3 to 1.9.7b1

comment:5 Changed 6 years ago by lszyba1

I have made some progress on this tutorial.  http://lucasmanual.com/mywiki/TurboGears2

I should be done in a week. Please go over it and let me know if you want to add anything, or if I should cover something else as well.

comment:6 Changed 6 years ago by mramm

  • Milestone changed from 1.9.7b1 to 2.0

comment:7 Changed 6 years ago by jorge.vargas

seems good +1 on adding it as an example project.

comment:8 Changed 6 years ago by lszyba1

  • Cc jorge.vargas added

Jorge Vargas, since I read somewhere that you did write a lot of unit tests for some apps, could you help me finish the unit test for this addressbook? I did the "check if url returns" but I just need to test for widget, and database and I am not sure how I can do that fast.

If I could get some copy paste code I could use that would be great. Thanks, Lucas

comment:9 Changed 6 years ago by lszyba1

Attaching what I have done so far.

Changed 6 years ago by lszyba1

Addressbook tutorial page

Changed 6 years ago by lszyba1

image1

Changed 6 years ago by lszyba1

image2

Changed 6 years ago by lszyba1

comment:11 Changed 6 years ago by mramm

  • Milestone changed from 2.0 to 2.0b4

comment:12 Changed 5 years ago by percious

  • Description modified (diff)

I think this tutorial should live where it is, but that we should link to it in our documentation. This way the TG crew does not bear the burden of maintenance, and the author can still be acknowledged in our docs. Also, the dbmechanic code should be converted over to catwalk/sprox before these docs are accepted.

comment:13 Changed 5 years ago by mramm

  • Owner changed from anonymous to mramm
  • Status changed from new to assigned
  • Milestone changed from 2.0b5 to 2.0

comment:14 Changed 5 years ago by mramm

  • Milestone changed from 2.0rc1 to 2.0rc2

comment:15 Changed 5 years ago by percious

  • Milestone changed from 2.1a1 to 2.1 docs

comment:16 Changed 3 years ago by pedersen

  • Status changed from assigned to closed
  • Resolution set to migrated
Note: See TracTickets for help on using tickets.