User:Exor674/Journalspace Path

From Dreamwidth Notes
< User:Exor674
Revision as of 00:39, 1 February 2012 by Exor674 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Apache::LiveJournnal::trans

$determine_view inline sub in ::trans

  • Check for a Routing call in the user role

If one exists, we do that and are done

  • Failing that..

There are some special cases here ( __setdomsess, redirect journals ), but otherwise this determines the view and prepares to call top the next step.

$journal_view inline sub in ::trans

  • Check if we should show the adult content interstial ( if so show it and we are done! )
  • /info is a redirect to full profile ( we're done )
  • profile is ( currently ) a call into BML ( we're done )
  • update is a redirect to the update page ( we're done ) NTS: move this to a routing call!
  • Data handlers ( we're done )

Customview is diffrent!!!

customview

otherwise (Apache::LiveJournal::journal_content)

This is one of the main meats of the operation!

  • Handle robots.txt
  • Handle auth=digest
  • handle failed cookies, or stuff.
  • Set up to call into make_journal

LJ::make_journal

back in (Apache::LiveJournal::journal_content)

  • if