packaging for net install

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default packaging for net install

    Hello all,

    I'm in the midst of developping a modular site generating tool that
    would allow people to set-up a base install of the site and then add
    "modules" to provide custom functionality for their purposes. Some early
    examples can be seen at [url]http://silly.kicks-ass.net[/url] and [url]http://kog.ca[/url] (both
    sites work with the same "engine" if I can call it that).

    At the moment I'm trying to add a feature that would allow users to
    choose the modules they want to install from a central server. The module
    listing and descriptions would be served up through an xml file. When the
    user decides to install a module they would simply click install and the
    files would be copied directly from the central server through a script.

    Now what I'm wondering is: Does anyone have any idea of the best method
    to copy the files over through PHP from a central server is? Would
    implememting and anonymous FTP "read only" site make the most sense? What
    about compressing the files? I know that the gz family of functions is not
    part of the default install in PHP 4+ and I hesitate in requiring users to
    add them since many people who use ISPs to host their site do not have that
    option. I don't even think it's available for the PHP runnning on Windows
    and I would like the solution to work on all server types. I would love to
    have some ideas thrown at me here. I'm willing to try anything.

    Kogger


    kogger Guest

  2. Similar Questions and Discussions

    1. Packaging and Deployment
      So I've banged my head against a wall for a couple of hours this morning trying to get the deployment manager to work... I don't want to have to...
    2. Packaging looking for fonts not used (on XP)
      I'm just starting with Indesign CS (long time PageMaker user) on my Windows XP box. When running "Save for Service Provider", the preflight (and...
    3. Having Packaging Issues
      Trying to package a newsletter we just finished. It comes up with errors for the linked graphics but they are all linked so I don't understand the...
    4. Packaging applications
      Reading the red book 'Developing and Porting C and C++ Applications on AIX', it seems that mkinstallp is only provided from AIX 5.2. Is there any...
    5. packaging .dll's
      Good afternoon I used 8.0 and just upgraded to MX. I am still confused about putting the .dll's in the xtras folder. We have done about 8...
  3. #2

    Default Re: packaging for net install

    In my post I mentioned the [url]http://silly.kicks-ass.net[/url] as a working example
    of the engine I'm writing. Please be warned that the content of the
    postings can be of dubious taste. I have no control over the content but I
    thought it would be polite to issue a warning.


    kogger wrote:
    > Hello all,
    >
    > I'm in the midst of developping a modular site generating tool that
    > would allow people to set-up a base install of the site and then add
    > "modules" to provide custom functionality for their purposes. Some
    > early examples can be seen at [url]http://silly.kicks-ass.net[/url] and
    > [url]http://kog.ca[/url] (both sites work with the same "engine" if I can call
    > it that).
    > At the moment I'm trying to add a feature that would allow users to
    > choose the modules they want to install from a central server. The
    > module listing and descriptions would be served up through an xml
    > file. When the user decides to install a module they would simply
    > click install and the files would be copied directly from the central
    > server through a script.
    > Now what I'm wondering is: Does anyone have any idea of the best
    > method to copy the files over through PHP from a central server is? Would
    > implememting and anonymous FTP "read only" site make the most
    > sense? What about compressing the files? I know that the gz family
    > of functions is not part of the default install in PHP 4+ and I
    > hesitate in requiring users to add them since many people who use
    > ISPs to host their site do not have that option. I don't even think
    > it's available for the PHP runnning on Windows and I would like the
    > solution to work on all server types. I would love to have some ideas
    > thrown at me here. I'm willing to try anything.
    > Kogger

    kogger Guest

  4. #3

    Default Re: packaging for net install

    > Now what I'm wondering is: Does anyone have any idea of the best method
    > to copy the files over through PHP from a central server is? Would
    > implememting and anonymous FTP "read only" site make the most sense? What
    > about compressing the files? I know that the gz family of functions is not
    > part of the default install in PHP 4+ and I hesitate in requiring users to
    > add them since many people who use ISPs to host their site do not have that
    > option. I don't even think it's available for the PHP runnning on Windows
    > and I would like the solution to work on all server types. I would love to
    > have some ideas thrown at me here. I'm willing to try anything.
    just make an fopen on your server.
    fopen("http://www.yxc.de?module=blog");

    then return php-code which generates the new files. You will make this in a loop
    and often again call this function to avoid servert timeouts.

    Hope this idea helps ...

    Greetings Andy
    Andreas Frey Guest

  5. #4

    Default Re: packaging for net install

    Hi Andreas,

    this is a good idea. I'll try it out and see how it handles things. I'm
    curious to see if any problems will come up if I try to transfer some image
    (ie binary) files.

    thanks for the suggestion.

    Andreas Frey wrote:
    >> Now what I'm wondering is: Does anyone have any idea of the best
    >> method to copy the files over through PHP from a central server is? Would
    >> implememting and anonymous FTP "read only" site make the most
    >> sense? What about compressing the files? I know that the gz family
    >> of functions is not part of the default install in PHP 4+ and I
    >> hesitate in requiring users to add them since many people who use
    >> ISPs to host their site do not have that option. I don't even think
    >> it's available for the PHP runnning on Windows and I would like the
    >> solution to work on all server types. I would love to have some
    >> ideas thrown at me here. I'm willing to try anything.
    >
    > just make an fopen on your server.
    > fopen("http://www.yxc.de?module=blog");
    >
    > then return php-code which generates the new files. You will make
    > this in a loop and often again call this function to avoid servert
    > timeouts.
    > Hope this idea helps ...
    >
    > Greetings Andy

    kogger Guest

  6. #5

    Default Re: packaging for net install

    Hey Andreas,

    just wanted to pop in and say that your idea worked out great. I was
    enven able to throw in some error handling and rollback if something goes
    wrong.

    Thanks for the idea.

    Andreas Frey wrote:
    >> Now what I'm wondering is: Does anyone have any idea of the best
    >> method to copy the files over through PHP from a central server is? Would
    >> implememting and anonymous FTP "read only" site make the most
    >> sense? What about compressing the files? I know that the gz family
    >> of functions is not part of the default install in PHP 4+ and I
    >> hesitate in requiring users to add them since many people who use
    >> ISPs to host their site do not have that option. I don't even think
    >> it's available for the PHP runnning on Windows and I would like the
    >> solution to work on all server types. I would love to have some
    >> ideas thrown at me here. I'm willing to try anything.
    >
    > just make an fopen on your server.
    > fopen("http://www.yxc.de?module=blog");
    >
    > then return php-code which generates the new files. You will make
    > this in a loop and often again call this function to avoid servert
    > timeouts.
    > Hope this idea helps ...
    >
    > Greetings Andy

    kogger Guest

  7. #6

    Default Re: packaging for net install

    > Hey Andreas,
    >
    > just wanted to pop in and say that your idea worked out great. I was
    > enven able to throw in some error handling and rollback if something goes
    > wrong.
    >
    > Thanks for the idea.
    NP

    I am sure i will need some help as well at another time ...

    Greetings, Andreas
    Andreas Frey Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139