ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Hobby Project

April 26, 2011 5:43am

Subscribe [1]
  • #1 / Apr 26, 2011 5:43am

    @li

    90 posts

    I always keep a sandbox codeigniter installation around, so whenever I need to work on a project I simply copy and paste it, change the config files, and I’m ready to go with a working installation with some of my core models/libraries that I reuse across all my projects. I call this sandbox project ‘skeleton’.

    Lately its become annoying when I’d add some code/improvements to some of my core libraries for one project, and have to copy and paste those files manually to all other projects in development, as well as to skeleton.

    So I’m working on a small tool which scans all projects in my www folder, compares all files/directories to the files/directories in Skeleton, and shows a list of the files/dirs that have been change (added, modified, deleted), etc. I can then select/unselect the files I want, and click a button to have those changes made in skeleton as well as any other selected projects.

    If this would be useful to anyone else, I can release the code for it.

  • #2 / Apr 26, 2011 7:09pm

    InsiteFX

    6819 posts

    Sounds interesting!

    I also keep a skeleton copy, but only of the application directory.

    All my other code I keep in snippets, one click and they are inserted.

    Another thing that I do for like a new project is I have a test database
    for testing new projects this way I can already have my db settings.

    I would be interested in take a look at your code to see how you are
    handling this.

    InsiteFX

  • #3 / Apr 27, 2011 3:03am

    @li

    90 posts

    Sure, I’ll be happy to post the code up and some screenshots once its finished 😉.

    Btw, how do you do 1 click inserts of your code?

    If you’re working on project x and you make some changes to one of your libraries/models that you use in all your projects (like lets say a user authorization library), don’t you have to manually copy and paste that file to your skeleton copy & any other projects you’re working on?

  • #4 / Apr 27, 2011 3:49am

    InsiteFX

    6819 posts

    No, I have pre-written code snippets that I just click on the name and it inserts for me!

    InsiteFX

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases