
|
|
Written by codetalkCode Notes My current model is to create an extended html model-have my own tags that are parsed by a perl script. Why? To seperate code from layout...code from html/perl from html. What gets embedded in what? And hell...should I just bag it all and fall to the dark side of CF? I want to write html with embedded snippets like this: <--poll pollId="name" otheroptions=""--> or <--showlast number="5"--> showlast, showrecent, ? to show the most recent comments... or <--header name="headername" --> The idea is to modularize the code To doHow do I add a storyRelates to, what is a user? Some Code that must exist: Add/Edit User -Form with user info -Assign a user id -enter into users database/file -create users directory -?create users about.html file CreateAbout Take a user ID Walk all appropriate files Create/recreate file journals/users/$userid/about.html from about template and user info. An about page should look like...? See template/aboutsample.html Some datamodeling: Need author information Need Story Information Stories live in directory: journals/authors/$authorid/..... Stories are html fragments that can live within a <td></td> Users Data Modeling. what do I need to know about users, and where should it live? UserID Password Name EMail AuthorHeader AuthorStatement -In a text file, in a quasi-xml format. Done Now: makesite.pl - run from command line. It reads files in template directory, and then rebuilds 'all' the 'substitution' files... |
|
consciousness is a social behavior into the bite of the sea went we, ...fuller fear were we |