FileLocations: Difference between revisions

From SoylentNews
Jump to navigation Jump to search
No edit summary
No edit summary
Line 85: Line 85:
                     installTagbox,installTagboxes,_munge_line,_process_fh_into_sql,_install,getPluginList,getThemeList,getTagboxList,getSiteTemplates,_parseFilesForTemplates,_
                     installTagbox,installTagboxes,_munge_line,_process_fh_into_sql,_install,getPluginList,getThemeList,getTagboxList,getSiteTemplates,_parseFilesForTemplates,_
                     getList,setListOrder,setListInstallOrder,reloadArmors )
                     getList,setListOrder,setListInstallOrder,reloadArmors )
       Plugin.pm
       Plugin.pm ( isInstalled )
       Slashboxes.pm
       Slashboxes.pm ( getUserSlashboxes,displaySlashboxes )
       Test.pm
       Test.pm ( import,slashTest,Display,Test,_getTemplate )
       Tools.pm
       Tools.pm ( import,syntax_check,basefile,srcfile,installfile,counterpart,_getpackage,pathpm,pmpathsrc,pmpath,myprint,myexit,myask,mysystem,new,front,frontpath,output,file,do_prep,do,gitdiff,diff,new,set_type )
       Utility
       Utility
       Utility.pm
       Utility.pm ( READ THIS FILE )
        The Slash::Utility::Xyz classes all EXPORT their own functions.  For 
        example, 'package main; use Slash::Utility::Environment;' will allow
        Slash::Utility::Environment::getCurrentStatic() to be called as
        main::getCurrentStatic(), effectively making it a global function.
        And unlike what some might consider "best practices," Slash exports
        quite a few functions, over 170 at current count.  Since Slash is an
        application, not a library, we consider this to be best.  We find
        if (isAnon($comment->{uid}))
        more readable than
        if (Slash::Utility::Environment::isAnon($comment->{uid}))
        and it seems appropriate to us.
        So, 'use Slash::Utility;' is nothing but a convenient way to import
        _all_ the Slash::Utility::Xyz functions into the 'use'rs nam
        espace. (audioguy note  - but it is damned confusing if you do not know this...)
       XML
       XML
       XML.pm
       XML.pm ( xmlDisplay,date2iso8601,encode )
     Storable.pm
     Storable.pm
     Template/
     Template/

Revision as of 07:41, 19 February 2014

CssWork (parent of this page)

This assumes that both Slashcode and apache are installed in /usr/local/

Apache

Only files of importance to slashcode shown.

apache
  bin
  cgi-bin
  conf
       httpd.conf
         (Include /usr/local/slash/httpd/slash.conf)
  htdocs
  icons
  include
  libexec
  logs
    access_log  
    error_log  
    slashcode.local_access_log  
    slashcode.local_error_log
  man
  proxy

lib or lib64

Only relevant files shown.

This contains the main Slash libraries (Perl modules) used by all the Slash Themes. Not modified for any local purposes.

lib(64)
  perl5
    Apache/
    Apache.pm
    Attribute/
    Bit/
    Bundle/
    Compress/
    Cwd.pm
    DBD/
      mysql
      mysql.pm
    DBI/
    DBI.pm
    Data/
    DateTime/
    DateTime.pm
    DateTimePP.pm
    DateTimePPExtra.pm
    Digest/
    File/
    HTML/
    List/
    MIME/
    Net/
    Package/
    Params/
    Slash.pm
    Slash/
       Apache.pm   (SlashVirtualUser,SlashSetVar. SlashSetForm,SlashCompileTemplates,ProxyRemoteAddr,ConnectionIsSSL,ConnectionIsSecure,IndexHandler,DESTROY )
       Apache
         Banlist.pm
         Log.pm
         Shtml.pm
         TemplatePages.pm
         User.pm
         User
           PasswordSalt.pm
       Client.pm ( new,soap,find_cookie_file,bakeUserCookie,literal,fixparam )
       Client
       Constants.pm ( constants ) - contants collected here (wher are they actually definned?)
       Custom
       DB
       DB.pm ( new,isInstalled,init,DESTROY )
       Display
       Display.pm ( slashDisplay,slashDisplayName,get_template,_ref ref $_[0] },tempWarn )
       Hook
       Hook.pm ( slashHook )
       Install.pm ( new,create,delete,deleteByID ,get,exists,getValue,getByID,readTemplateFile,writeTemplateFile,installTheme,installThemes,installPlugin,installPlugins,
                    installTagbox,installTagboxes,_munge_line,_process_fh_into_sql,_install,getPluginList,getThemeList,getTagboxList,getSiteTemplates,_parseFilesForTemplates,_
                    getList,setListOrder,setListInstallOrder,reloadArmors )
       Plugin.pm ( isInstalled )
       Slashboxes.pm ( getUserSlashboxes,displaySlashboxes )
       Test.pm  ( import,slashTest,Display,Test,_getTemplate )
       Tools.pm ( import,syntax_check,basefile,srcfile,installfile,counterpart,_getpackage,pathpm,pmpathsrc,pmpath,myprint,myexit,myask,mysystem,new,front,frontpath,output,file,do_prep,do,gitdiff,diff,new,set_type )
       Utility
       Utility.pm ( READ THIS FILE )
         The Slash::Utility::Xyz classes all EXPORT their own functions.  For  
         example, 'package main; use Slash::Utility::Environment;' will allow
         Slash::Utility::Environment::getCurrentStatic() to be called as
         main::getCurrentStatic(), effectively making it a global function.
         And unlike what some might consider "best practices," Slash exports
         quite a few functions, over 170 at current count.  Since Slash is an
         application, not a library, we consider this to be best.  We find
         if (isAnon($comment->{uid}))
         more readable than
         if (Slash::Utility::Environment::isAnon($comment->{uid}))
         and it seems appropriate to us.
         So, 'use Slash::Utility;' is nothing but a convenient way to import
         _all_ the Slash::Utility::Xyz functions into the 'use'rs nam
         espace. (audioguy note  - but it is damned confusing if you do not know this...)
       XML
       XML.pm ( xmlDisplay,date2iso8601,encode )
    Storable.pm
    Template/
    Template.pm
    Term/
    Text/
    Time/
    Win32/
    XML/
    auto/
    cgi_to_mod_perl.pod
    dbixs_rev.pl
    libapreq.pod
    mod_perl.pm
    mod_perl.pod
    mod_perl_cvs.pod
    mod_perl_hooks.pm
    mod_perl_hooks.pm.PL
    mod_perl_method_handlers.pod
    mod_perl_traps.pod
    mod_perl_tuning.pod