FileLocations: Difference between revisions

From SoylentNews
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
<h2>lib or lib64</h2>
<h2>lib or lib64</h2>


Only relevant files shown.
Only relevant files shown.  


This contains the main Slash libraries (Perl modules) used by all the Slash Themes. Not modified for any local purposes.
This contains the main Slash libraries (Perl modules) used by all the Slash Themes. Not modified for any local purposes. 'sub subroutine()' names are shown in parentheses.


<pre>
<pre>
Line 74: Line 74:
       Client.pm ( new,soap,find_cookie_file,bakeUserCookie,literal,fixparam )
       Client.pm ( new,soap,find_cookie_file,bakeUserCookie,literal,fixparam )
       Client
       Client
        Journal.pm ( new,_return_from_entry,add_entry,modify_entry,delete_entry,get_entry,get_entries )
       Constants.pm ( constants ) - contants collected here (wher are they actually definned?)
       Constants.pm ( constants ) - contants collected here (wher are they actually definned?)
       Custom
       Custom

Revision as of 08:03, 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. 'sub subroutine()' names are shown in parentheses.

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
         Journal.pm ( new,_return_from_entry,add_entry,modify_entry,delete_entry,get_entry,get_entries )
       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