Recommended File Hierarchy

What is the recommended project file hierarchy? I tried:
-site
--cgi-bin
--jsfiles
--stylesheets
--templates
etc.
but when I tried to save a template file, I got a dialog
saying it should be outside of the root or remote updates might not
occur correctly (or something like that). So, what is the
recommended project file hierarchy? What works best? Is it
documented anywhere? I read the getting started doc, but it blows.
GN

Here is a hard and fast rule -
Every file used by the site must be within the hosting
account's root.
Here's a loose guideline -
Every file used by the site *could* be placed within the
site's root.
Here's a final rule -
All HTML, js, CSS, DWT, LBI, and image files *MUST* be placed
within the
site's root.
When you save a file, place it anywhere you want within the
root of the
site, unless it's a template file or a library item file.
When you save
templates, use FILE | Save As Template, and DW will take care
of this for
you.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"gnubie" <[email protected]> wrote in
message
news:e2lnjh$ifs$[email protected]..
> What is the recommended project file hierarchy? I tried:
> -site
> --cgi-bin
> --jsfiles
> --stylesheets
> --templates
> etc.
>
> but when I tried to save a template file, I got a dialog
saying it should
> be
> outside of the root or remote updates might not occur
correctly (or
> something
> like that). So, what is the recommended project file
hierarchy? What
> works
> best? Is it documented anywhere? I read the getting
started doc, but it
> blows.
>
> GN
>

Similar Messages

  • Listing File Hierarchy in console using a Tree structure

    first off i'm a college student. i'm not that good at java... we got this CA in class and try as i might i just can't get my head around it
    i was wondering if someone who know a bit more about java then i do would point me in the right direction, were i'm going wrong in my code
    i have to list out sub-files and sub-directorys of a folder (i.e. C:/test) to console using tree structure
    like this
    startingdir
    dir1 //subfolder of startingdir
    dir11 //subfolder of dir1
    dir111 //subfolder of dir11
    dir12 //subfolder of dir1
    file1A // document on dir1
    dir2 //subfolder of startingdir
    Tree.java
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.ListIterator;
    import java.util.NoSuchElementException;
    import java.util.Deque;
    public class Tree<E> {
        // Each Tree object is an unordered tree whose
        // elements are arbitrary objects of type E.
        // This tree is represented by a reference to its root node (root), which
        // is null if the tree is empty. Each tree node contains a link to its
        // parent and a LinkedList of child nodes
        private Node root;
        //////////// Constructor ////////////
        public Tree () {
        // Construct a tree, initially empty.
            root = null;
        //////////// Accessors ////////////
        public boolean isEmpty () {
        // Return true is and only if this tree is empty.
             return (root == null);
        public Node root () {
        // Return the root node of this tree, or null if this tree is empty.
            return root;
        public Node parent (Node node) {
        // Return the parent of node in this tree, or null if node is the root node.
            return node.parent;
        public void makeRoot (E elem) {
        // Make this tree consist of just a root node containing element elem.
            root = new Node(elem);
        public Node addChild (Node node, E elem) {
        // Add a new node containing element elem as a child of node in this
        // tree. The new node has no children of its own. Return the node
        // just added.
            Node newChild = new Node(elem);
            newChild.parent = node;
            node.children.addLast(newChild);
            return newChild;
        public E element (Node node) {
             return node.getElement();
        //////////// Iterators ////////////
        public Iterator childrenIterator (Node node) {
            return node.children.iterator();
        public Iterator nodesPreOrder () {
        // Return an iterator that visits all nodes of this tree, with a pre-order
        // traversal.
            return new Tree.PreOrderIterator();
        //////////// Inner classes ////////////
        public class Node {
            // Each Tree.Node object is a  node of an
            // unordered tree, and contains a single element.
            // This tree node consists of an element (element),
            // a link to its parent
            // and a LinkedList of its children
            private E element;
            private Node parent;
            private LinkedList<Node> children;
            private Node (E elem) {
                // Construct a tree node, containing element elem, that has no
                // children and no parent.
                this.element = elem;
                this.parent = null;
                children = new LinkedList<Node>();
            public E getElement () {
            // Return the element contained in this node.
                return this.element;
            public String toString () {
            // Convert this tree node and all its children to a string.
                String children = "";
                // write code here to add all children
                return element.toString() + children;
            public void setElement (E elem) {
            // Change the element contained in this node to be elem.
                this.element = elem;
        public class PreOrderIterator implements Iterator {
            private Deque<Node> track; //Java recommends using Deque rather
            // than Stack. This is used to store sequence of nomempty subtrees still
            //to be visited
            private PreOrderIterator () {
                track = new LinkedList();
                if (root != null)
                    track.addFirst(root);
            public boolean hasNext () {
                return (! track.isEmpty());
            public E next () {
                Node place = track.removeFirst();
                //stack the children in reverse order
                if (!place.children.isEmpty()) {
                    int size = place.children.size(); //number of children
                    ListIterator<Node> lIter =
                            place.children.listIterator(size); //start iterator at last child
                    while (lIter.hasPrevious()) {
                        Node element = lIter.previous();
                        track.addFirst(element);
                return place.element;
            public void remove () {
                throw new UnsupportedOperationException();
        FileHierarchy.java
    import java.io.File;
    import java.util.Iterator;
    public class FileHierarchy {
        // Each FileHierarchy object describes a hierarchical collection of
        // documents and folders, in which a folder may contain any number of
        // documents and other folders. Within a given folder, all documents and
        // folders have different names.
        // This file hierarchy is represented by a tree, fileTree, whose elements
        // are Descriptor objects.
        private Tree fileTree;
        //////////// Constructor ////////////
        public FileHierarchy (String startingDir, int level) {
            // Construct a file hierarchy with level levels, starting at
            // startingDir
            // Can initially ignore level and construct as many levels as exist
            fileTree = new Tree();
            Descriptor descr = new Descriptor(startingDir, true);
            fileTree.makeRoot(descr);
            int currentLevel = 0;
            int maxLevel = level;
            addSubDirs(fileTree.root(), currentLevel, maxLevel);
        //////////// File hierarchy operations ////////////
        private void addSubDirs(Tree.Node currentNode, int currentLevel,
                int maxLevel) {
        // get name of directory in currentNode
        // then find its subdirectories (can add files later)
        // for each subdirectory:
        //    add it to children of currentNode - call addChild method of Tree
        //    call this method recursively on each child node representing a subdir
        // can initially ignore currentLevel and maxLevel   
            Descriptor descr = (Descriptor) currentNode.getElement();
            File f = new File(descr.name);
            File[] list = f.listFiles();
            for (int i = 0; i < list.length; ++i) {
                if (list.isDirectory()) {
    File[] listx = null;
    fileTree.addChild(currentNode, i);
    if (list[i].list().length != 0) {
    listx = list[1].listFiles();
    addSubDirs(currentNode,i,1);
    } else if (list[i].isFile()) {
    fileTree.addChild(currentNode, i);
    // The following code is sample code to illustrate how File class is
    // used to get a list of subdirectories from a starting directory
    // list now contains subdirs and files
    // contained in dir descr.name
    ////////// Inner class for document/folder descriptors. //////////
    private static class Descriptor {
    // Each Descriptor object describes a document or folder.
    private String name;
    private boolean isFolder;
    private Descriptor (String name, boolean isFolder) {
    this.name = name;
    this.isFolder = isFolder;
    FileHierarchyTest.javapublic class FileHierarchyTest {
    private static Tree fileTree;
    public static void main(String[] args) {
    FileHierarchy test = new FileHierarchy ("//test", 1);
    System.out.println(test.toString());

    Denis,
    Do you have [red hair|http://www.dennisthemenace.com/]? ;-)
    My advise with the tree structure is pretty short and sweet... make each node remember
    1. it's parent
    2. it's children
    That's how the file system (inode) actually works.
    <quote>
    The exact reasoning for designating these as "i" nodes is unsure. When asked, Unix pioneer Dennis Ritchie replied:[citation needed]
    In truth, I don't know either. It was just a term that we started to use. "Index" is my best guess, because of the
    slightly unusual file system structure that stored the access information of files as a flat array on the disk, with all
    the hierarchical directory information living aside from this. Thus the i-number is an index in this array, the
    i-node is the selected element of the array. (The "i-" notation was used in the 1st edition manual; its hyphen
    became gradually dropped).</quote>

  • Flat File Hierarchy Datasources

    We are creating several flat file hierarchy datasources. The datasources will be maintained in an external database.
    I am familiar with the creation of flat file datasources for master and transactional data, but don't have good documentation for how the external flat file hierarchy is to be formatted.
    We have reviewed the 2004 Netweaver Document "How to Download Hierarchies in BW" and have used the program referenced there, Z_SAP_HIERARCHY_DOWNLOAD, to download our hierarchies to then test the upload.
    However, this has not worked.
    Does anyone have the record layout that the flat file must be in to upload a simple 2-level hierarchy (for example groupings of 0vendor)?
    Thanks, Doug

    I think the URL you mention is http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm.
    This contains the record layout instructions as follows.
      5.      Maintaining the hierarchy:
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy.
    PSA Transfer Method: You have the option here to set the Remove Leaf Value and Node InfoObjects indicator. As a result, characteristic values are not transferred into the hierarchy fields NODENAME, LEAFFROM and LEAFTO as is normally the case, but in their own transfer structure fields.  This option allows you to load characteristic values having a length greater than 32 characters.
    Characteristic values with a length > 32 can be loaded into the PSA, but they cannot be updated in characteristics that have a length >32.
    The node names for pure text nodes remain restricted to 32 characters in the hierarchy (0HIER_NODE characteristic).
    The system automatically generates a table with the following hierarchy format (for sorted hierarchies without removed leaf values and node InfoObjects):
    Description
    Field Name
    Length
    Type
    Node ID
    NODEID
    8
    NUMC
    InfoObject name
    INFOOBJECT
    30
    CHAR
    Node name
    NODENAME
    32
    CHAR
    Catalog ID
    LINK
    1
    CHAR
    Parent node
    PARENTID
    8
    NUMC
    First subnode
    CHILDID
    8
    NUMC
    Next adjacent node
    NEXTID
    8
    NUMC
    Language key
    LANGU
    1
    CHAR
    Description - short
    TXTSH
    20
    CHAR
    Description - medium
    TXTMD
    40
    CHAR
    Description- long
    TXTLG
    60
    CHAR

  • Maximum recommended file size for public distribution?

    I'm producing a project with multiple PDFs that will be circulated to a goup of seniors aged 70 and older. I anticipate that some may be using older computers.
    Most of my PDFs are small, but one at 7.4 MB is at the smallest size I can output the document as it stands. I'm wondering if that size may be too large. If necessary, I can break it into two documents, or maybe even three.
    Does anyone with experience producing PDFs for public distribution have a sense of a maximum recommended file size?
    I note that at http://www.irs.gov/pub/irs-pdf/ the Internal Revenue Service hosts 2,012 PDFs, of which only 50 are 4 MB or larger.
    Thanks!

    First Open the PDF  Use Optimizer to examine the PDF.
    a Lot of times when I create PDF's I end up with a half-dozen copies of the same font and fontfaces. If you remove all the duplicates that will reduce the file size tremendously.
    Another thing is to reduce the dpi of any Graphicseven for printing they don't need to be any larger than 200DPI.
    and if they are going to be viewed on acomputer screen only no more than 150 DPI tops and if you can get by with 75DPI that will be even better.
    Once you set up the optimized File save under a different name and see what size it turns out. Those to thing s can sometimes reduce file size by as much as 2/3's.

  • Sequence File Hierarchy Sequence Name Resize

    Hello,
    Is there a way to resize the sequence name in the Sequence File Hierarchy Call Graph? I have a need to make the sequence names long and it does not fit in the file hierarchy.
    Thanks.

    There is not a way.  The objects that hold the sequence names are a default size.  The best way to be able to view the whole name is just to scroll over top of the object.
    Jesse S.
    Applications Engineer
    National Instruments

  • Burning - how to preserve the file hierarchy?

    Hi!
    I want to burn the songs of a playlist on a CD in MP3 format. I created an MP3 CD and also tried a data CD. In both cases, all the songs of the playlist are burned in a single folder on the CD. I want a CD with the file hierarchy I have in my iTunes folder, e.g. Interpret/Album/Title.
    Any way to achieve this?

    is the "burn by artist" ordering close enough for your purposes inmado? for info on burning with that ordering, see:
    iTunes: How to set the play order of songs on an MP3 CD

  • Long files hierarchy causes autocad to crash when printing to a pdf

    Long files hierarchy causes autocad to crash when printing to a pdf.

    Tylerdowner,
    Uninstalled and reinstalled Flash. No change. The only thing that seems to consistently resolve the problem is disabling the Flash plugin.
    I tried creating a new profile, but when I transfer the data suggested in this:
    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    I get an error window when opening firefox with the new profile ...something about security settings not working correctly...but I can print every time even though the Flash plugin appears to be installed and enabled. So I assume there is some kind of problem with my current profile. Any suggestions on how to find and correct it or a way to get most of my data into a new profile...that works...would be appreciated.

  • Use of the "Display file hierarchy" for docmentation purposes

    In teststand 4.1 the Display file hierarchy was introduced.  I want to use the generated call graph and legend for documentation purposes (preferably in an automated mode).  I have modfied the doc_gen seqence provided with Teststand to suite most of my needs, but I cannot find any methods to access the call graph
    Anyone does this before or have additional information on how to to this
    Regards Øyvind Standal

    A method to retrieve the call graph would be great!
    I just discovered that NI Idea Exchange only has a forum for LabVIEW. Maybe it's time to add TestStand the the Idea Exchange. Where do I suggest this idea?!
    Message Edited by Phillip Brooks on 08-19-2009 01:56 PM
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • How to import a XSD schema files hierarchy (=mulitple dependent XSD files)?

    Assume I have a XSD schema file hierarchy in my local directory
    D:\bpelprojects\projXSDs\proj123\*
    The "main" XSD
    D:\bpelprojects\projXSDs\proj123\main.xsd
    imports internally other XSDs (files) from other directories. So we have a whole set of depending XSD schema files.
    Now I want to import the top-most XSD main.xsd (see above) as a XSD schema for one of my BPEL process in JDeveloper. When I rightclick on "Schema" in the "Structures" pane in JDeveloper and import the main.xsd then it seems to me that the other (dependent) XSD files are NOT imported as well (or only sometimes under some circumstances). They are at least not copied to the BPEL project folder
    How can I assign a hierarchy of XSD files to a WSDL otherwise WITHOUT to copy and enter them all manually and individually in the WSDL?
    Peter

    HI,
    Make sure that you use all the relative paths while referring those XSDs in the BPEL/XSD files. Otherwise you will see the problems ar runtime.
    As a jeneral rule... if the schemas are public put them in system/xmllib directory and refer them using the localhost:7778/xmllib/...
    or copying them into the BPEL folder and referring them with relative paths like "main.xsd" or abc/sub.xsd.
    If you are ferering the main inside the sub then ../main.xsd should be mentioned in the sub.xsd.
    Hope this makes clear.
    -- Khaleel

  • What is the recommended 'file handling cache' size for LRCC(6) on MAC OS? Is there an upper limit at which it has a negative impact on performance?

    When using the brush tool at full screen (Fill mode not 1:1) for extended period (10-15 minutes) I begin to experience a lag in screen replenish and often get the Mac beachball. The entire operation of the Dev/Brush tool slows and gets unmanageable. I usually close LR and restart but the problem returns. I turned off the GPU support as that exacerbated the problem.
    Image is 21MB Canon Raw file.
    1:1 and Smart Preview was built on Import.
    Using brush tool at low flow (40%) and density (100%) so there are a lot of 'strokes' applied in B/D of areas of image
    File cache currently set at 20GB
    Running late 2012 Mac Mini (Quad Processors/I7-2.3ghz/16GBRAM) and with Dell U2415
    Original images located on W/D 4TB external drive; LR Catalog on Mac 2TBHD-256GB SSD/Fusion drive
    Graphics card is Intel HD 4000/OSX
    Intuit Bamboo tablet
    Recommendations?

    http://lifehacker.com/5426041/understanding-the-windows-pagefile-and-why-you-shouldnt-disa ble-it
    Keep in mind Video/Animation applications use more ram now than almost any other type and there are far more memory hungry services running in the background as well. Consider the normal recommendations are for standard applications. HD material changed far more than just the need for 64Bit memory addressing.
    Eric
    ADK

  • Project files hierarchy

    Hi all;
    i was not faithfull for java files hierachy and my projects was based on simple jsp files.
    &#304; want to create my own java class files and use in my project now.But how can i make the hierarchy on files.
    for example: com.java.myproject.mail , com.java.myproject.sql etc...
    how i must write this and how i must set the folder's index.
    i dont exactly know what i must call this situation so i couldnt search it somewhere.please let me know about any article and please give me link to learn on this more..
    Thank you
    Burak

    http://java.sun.com/docs/books/tutorial/reallybigindex.html#getStarted

  • Recommended File System - 3.5 TB

    I'm about to build a large file server (3.5 TB):
      - 8 * 500GB Sata drives
      - Raid 5 (hardware)
    The server will be primarly storing cd/dvd images and large graphics files.
    I'm just starting my research on different file system.  Any recommendations?
    Thanks,
    Chris....

    I was about to test a couple of different file systems and ran into a problem partitioning the drive.
    To recap I am using 8 * 500GB WD Sata drives on a 3ware 9500 Card.  I have created one large Raid 5 array (in the 9500 BIOS program).
    The 3ware instructions tell me to use parted to partition the drive (since it is large than 2TB).  However, parted does not support XFS...so I'm looking for another way to partition the drive.
    I used fdisk.  When I start fdisk /dev/sda, it informs me that I have to set the cylinders before I can perform any actions.  I set the cylinders to the maximum fdisk will allow (some very large number).  I then created a partition using 1 as the start cylinder and 3500GB as the stop (which is the size of my RAID array).
    I'm a little concered about the cylinder size I put in.  I know it is wrong, since I don't have any idea what the cylinder size should be.  Not sure cylinder size really makes sense across multiple disks though.
    Also, every time I start fdisk (even to just verify the partition table), it asks me to input the cylinder size.
    Any help/insights into how I can correctly partition the raid array would be appreciated.
    Thanks,
    Chris....

  • Recommended File Recovery Softwar

    Hi,
    Any recommendations for a file recoversy software?
    I'm looking at the following, but i don't know which one's the best... 'hope you guys out there can help me decide... thanks in advance...
    -Techtool pro
    -Boomerang
    -FileSalvage
    -DiskWarriior
    any other?
    thanks,
    zurc

    There's no best. Search the forums or google for those and see what others say about them. In addition to what you posted, I've heard good things about DataRescue.

  • Recommended file descriptors for Sparc Solaris

    I'm moving an app from Linux to Sparc Solaris and the app keeps dying with a
    message of:
    java.net.SocketException: Too many open files.
    How many open files should weblogic have on a process level and on a system
    wide level? The sparc box has a standard SunOs 5.6 I.E. Solaris.

    make it 1024, solaris' max, will save hassles. 'plimit' and 'ulimit' are the commands used to configure fd.

  • Recommended file manager

    I'm looking for a good file manager. I'm looking for one that can browse SAMBA shares and at the same time doesn't rely on too many dependencies (that means file managers like Nautilus). I love Thunar but as far as I'm aware it cannot browse SAMBA shares.
    Wasn't sure if this was the correct category but I thought it fit in here better than anywhere else.
    Cheers.

    The only one that I know of that can browse Samba shares like that would be nautilus.
    What's wrong with mounting the shares ? Or have you tried "smbnetfs" ? It's in the repos.

Maybe you are looking for

  • Lg Ally - slideshow text message - How to save??

    Hello,   I was sent a text message with pictures which became a slideshow. I cant save the slideshow to my pictures. No menu pops up, only a slide show count down. How do i save the slideshow into my pictures?

  • ATP issue in Sales Order

    Hi I am facing problem in Sales Order I have created a Sales Order for four different material. Line item 10 XYZ with 6 quantity , but for this material ATP is not working. When i am clicking on ATP icon, in schedule lines tab, Order qty is coming 6,

  • Collection Data Form in invisible mode.

    Hi, We are using zcm 10.3 installed on SLES 11. Our clients are XP SP3. I have configured a collection data form with autofill and checked "Invisible mode for autofill only" In the autofill settings I have entered a environment variable. I have confi

  • Firefox comes up in an 8 bit graphic mode, how can I get it in, at least, a 32 bit configuration?

    I'm using MS 7 professional, 64 bit. Whenever I try to access a url, my screen blacks out for a second, or two, and restores in 8 bit mode. I have to rt click on a blank desktop space, which allows me to bring up the intel Graphics media driver. I cl

  • Movement Statistics Report setup

    I am doing the setups for Movement Statistics Report but no data is coming can any body help me.