|
Home Pages Pidgin Azarennya (S|N) Mac Textanium Reference ToDo Food Local Edit Local: Hide Weather • GoWhere? • YahooMaps (mine) • GoogleMaps • Metro (map) • FairfaxConnector • GreaterGreaterWashington • DCMetrocentric • WhatsUpArlington • Restonian • BeyondDC • BaconsRebellion Language: Hide Fantasy: Hide • AnnalsOfArda • Arda • SilmarillionChronology • TolkienGateway • SciFi: Hide • CentauriDreams • ColdNavy • ConceptShips • RavenstarStudios • SkyscraperPage • StarTrek • StarTrekVsStarWars • Film: Hide IMDB • BigHollywood • DKnowsAll • Jabootu • KyleSmith Music: Hide REALbasic: Hide • Resources • Garage • University • WebRing • Forums: • REAL • ElfData • Plugins and Code: • BKeeney • DeclareSub • Einhugur • Joe • Restrepo • Tempelmann • ZAZ Coding: Hide Forums: • PowWeb • PHP • Webmaster • Coding • Walkers • Perl • Intro • Monks • PHP • JavaScript • Toolbox • UnobtrusiveJavaScript • JavaScriptCompressor • RegularExpressions (test) • JSLint • SQL • Cocoa • CocoaBuilder • CocoaDev • CocoaLab • AppleScript • BBS • Userland • Faqintosh • FileMaker • FileMakerTips • FileMakerWorld • FileMakerPlugins Science: Hide DarwinCentral • PhysOrg • PandasThumb • TalkOrigins • TalkRational • AstronomyDailyPics • Curmudgeon • SmallThings • ArchaeoBlog • AntiEvolution.org • SkepticsGuide • EvC • BadAstronomer • PhysicsForum • SlashdotScience • JunkScience • Engadget • Thunderbolts • Icecap • CentauriDreams • NewScientist • Gizmodo • CO2Science • ClimateDebate • ScienceDaily • Nrich • Math • TalkOrigins • GoodMathBadMath • Magazines • AmericanScientist • NationalGeographic • Space.com History: Hide • 1421 News/Politics: Hide WideAwakes • Anchoress • Lucianne • Strata • AceOfSpades • BigLizards • BlackAndRight • Cannonfire • DrSanity • FloppingAces • GatewayPundit • HillBuzz • HotAir • Husaria • JawaReport • JimTreacher • JsCafeNette • LittleGreenFootballs • MyVRWC • Newsbusters • Pal2Pal • PinkFlamingo • PowerLine • RachelLucas • RogerLSimon • SisterToldjah • StolenThunder • SultanKnish • TCSDaily • UppityWoman • Wizbang • NewsGroper • NewsRightNow • OriginalSignal • Blogs... Cults/Crime: Hide Miscellaneous: Hide Fun: Agony ICanHas? ObSkills Snopes Pix: Deviant Places Renderosity Blender Artists X86: OSX86 ArsTech OSNews TUAW Tools: Calculator AsciiArt XMLVal FunStuff: Pictures: Photobucket (eg Dubai) Videos: YouTube Subtitler InterestingThings: LibraryThing FlashCards GoogleDocs Wowio Bubbl.us Colemak Audible PodioBooks WonderfulInfo BooksOnline AboutUs.org |
Wiki /
Filesshow/index.php (the display engine)
It is the URL that tells show.php which plugin to use to build and display the content. Thus "karig.net/week/2007-06-23" is translated to "karig.net/show?p=week&a=2007-06-23" which in turn includes "week.php". Show.php uses only one plugin to display the main content, but it may load other plugins as "extras" specified by the template. template.html (the display template)The layout of the pieces of the page are stored separately from the programming logic (in show.php). The template contains no PHP -- only special "tags" such as "{CONTENT}" and "{SEARCH}" that tells show.php where to put things, and what things to put in. (Maybe extras: {EXTRA:911TRIBUTE} to run "911tribute.php" if it exists and add that script's output in place of that tag.) plugins for "show"edit/index.php (the standalone editor)The editor has a "list mode" that displays entry names as links; click on one to edit the entry. The editor can edit plain text files. This is one advantage of having you enter straight HTML instead of markup. This also opens up the possibility of editing configuration files, e.g., "journal" files that list entry names in a hierarchy (which can be displayed by a "journal" plugin). plugins for "edit".htaccess (the URL fixer)The URL looks like this: karig.net/plugin_name/criteria, e.g., karig.net/page/Entry_name, or karig.net/week/2007-07-30, or karig.net/month/2007-06, etc. entries/Files are stored by name. An entry "Mnopqrs" would be stored at "store/mno/mnopqrs". index.phpContains code to store and retrieve entries by name. Also prevents direct exploration of this folder. indexes/Indexes by creation date and modification date are stored here. Custom fields can be indexed here also. An index is just a folder with a field name, containing a file for each field value; each file contains a list of names of entries associated with that field and value. index.phpContains code to create and update indexes. Also prevents direct exploration of this folder. log/Contains a record of each change made to the database (including a complete copy of each entry after it has been changed and resaved). This allows old versions of entries to be restored, and it shows what changes were made and when. index.phpContains code to append and retrieve log entries. Also prevents direct exploration of this folder. |