Brad Fitzpatrick (bradfitz) wrote in lj_dev,
Brad Fitzpatrick
bradfitz
lj_dev

Signup Process & Hooks

By now you've probably read about the new signup process.

I didn't address it in my news post (wrong audience) but I wanted to assure you all that the account code logic & the rest of the new ljcom-specific logic is cleanly separated between the livejournal and ljcom CVS modules.

Most interesting is the new LJ::register_hook and LJ::run_hooks functionality which I plan to use a lot more.

Go look at the new htdocs/create.bml in 'livejournal' ... it does 'runhook' on 'post-create', which is registered in ljcom::lj-bml-local.pl, which is a callback into LJ::Pay::, which is also preloaded by lj-bml-local.pl. Neat, huh? I thought so.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments