Tangra...gfield(3pm)

πŸ“¦
version 2.12 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

okay so welcome to the Tangra...gfield(3pm) page πŸ’– (yeah the title got cropped, it's giving truncation, whatever β€” it's the page for Tangram::Springfield, filed under the User Contributed Perl Documentation). good news bestie: this one is short, so you can actually read the whole thing. grab a snack πŸ“


✨ NAME ✨

Tangram::Springfield β€” the classes and the schema that get used in the Guided Tour. that's the whole job. iconic, honestly πŸ‘‘

✨ SYNOPSIS ✨

use Tangram;
use Tangram::Springfield;

# deploy the storage
# store & retrieve objects

see how the comments just hand you the entire plot? deploy the storage, then store & retrieve objects. no cap, that's the arc 🌈

✨ DESCRIPTION ✨

okay so here's what this module is actually doing, bestie:

  • it contains the declarations of the classes used in the Guided Tour πŸ‘‘
  • it also creates a Schema object for that whole class system πŸŽ€
  • that schema gets stashed in the $schema variable 🌸
  • and $schema is exported to the "main" package by default β€” so it just shows up in your code, uninvited but iconic πŸ’…

and the UML diagram for the classes? that lives over in Tangram. go look, it's worth it πŸ¦‹

ngl the whole point is that the Guided Tour gets something real to play with β€” classes plus a ready-made schema.

✨ SEE ALSO ✨

the rest of the friend group, go say hi to them:

  • Tangram
  • Tangram::Schema
  • Tangram::Relational
  • Tangram::Storage
  • Tangram::Deploy

sign-off time 🫢 this was perl v5.36.0, dated 2022-10-16, and yeah, it's the Tangra...gfield(3pm) page. now go deploy something, mwah πŸ’œβœ¨

πŸ“¦ where this page comes from