Menu

WIMP & Shared Server Solution Offering...

Tripmon
2005-11-16
2013-04-17
  • Tripmon

    Tripmon - 2005-11-16

    I think you may have a great app here, but the Forge Demo is down and I have run into some serious problems attempting to get an install up on my Dev Platform.

    As you may know IIS doesn't play well with .HTA,  and further many of us on shared servers have no control over the PHP.INI (PHP include dir. outside our sandbox) on our respective shared boxes.

    As a solution to all of the install issues I have read for v3 I offer the following suggestion.

    Pull the includes into an "includes" directory and then define INCLUDE_PATH in genieConfiguration.inc.php.  Of course it would require additional code:

    include_once ("genieConfiguration.inc.php");

    would become

    include_once INCLUDE_PATH."/genieConfiguration.inc.php";

    Using this method ensures that regardless of HTA or PHP settings, that the app would work across platforms even under restricted shared hosting.

    Just my 2cents, thoughts welcome.

    Any Thoughts?

     
    • andykem

      andykem - 2006-02-18

      Sounds good.  It's very helpful to read all these posts.  But, isn't it strange that from all across the world there seem so few who are using PCG?

       
      • freakazoid3

        freakazoid3 - 2006-02-18

        That's because there are now quite a few "frameworks" that will autogenerate php code for you that represent your database schema.  PCG has some quite good features and is packed with useful utilities.  However, it's a bit cumbersome and re-generating code if your database schema changes is quite time time-consuming.  I use it in conjunction with other frameworks and use it less than I used to.  Still it was very good when I frist got started with PHP.

        Also, I think the author has given up supporting it.  Still as I said, it's very good as a start.

        Freakazoid

         
    • andykem

      andykem - 2006-02-19

      Freakazoid,
      You say about PCG being a bit awkward to use perhaps, compared with some others.  DO these others generate a fairly complete framework?  Example?

      I haven't done much with PCG except: install it, get it connected to a MySQl database and then telling it to 'Generate & Save' (for each of simple and advanced),so as to see what it produces.  And I'm still mulling that over! :)
      Andy

       
      • freakazoid3

        freakazoid3 - 2006-02-19

        Andy

        I found another framework which I consider to be much better than PCG but have been reluctant to scream about it in forums, espcially one this one.  It's called Qcodo and IMHO is a more professional and elegant way of doing what PCG does and much more.  It has some drawbacks in that it only works with PHP5 and MySql at present, so is not as versitile as PCG. Feel free to check it out. www.qcodo.com
        Freakazoid

         
    • andykem

      andykem - 2006-02-21

      Freakazoid,
      Thanks for that.  I've had a look and I think that I'll give it a go. It does seem as if Qcodo is presently a more lively one at least; with new development versions being posted very recently, whereas...
      So, even though I have got this one to go,it won't be much effort to mount the Qcodo and then I'll have to decide which one to take the trouble to really get into.
      Thanks again,
      Andy

       
    • andykem

      andykem - 2006-02-26

      Qcodo is quite a bit more 'confusing' to someone like me who has no knowledge of php, object oriented programming, nor databases.

      It may have more potential that phpCodeGenie but 6 days later I'm still struggling to make it work, mainly due to php-script problems that keep popping up. And, I think it may be less mature than PCG; which also has the big present advantage that I've made it work!

      I'm not even sure that they really do exactly the same job and PCG may be all I need anyway.
      Regards
      Andy

       
    • andykem

      andykem - 2006-02-27

      Apologies to Tripmon!  I seem to have been guilty of taking your post totally off topic.

      Going back to your original suggestion though, I've just reread it and confess I'm puzzled.  I get the bit about creating an 'includes' folder to hold the 'genieConfiguration.inc.php'.  And then one is supposed to change:-

      include_once ("genieConfiguration.inc.php");

      to:-
      include_once INCLUDE_PATH."/genieConfiguration.inc.php";

      Does that mean that it's only necessary to change this in the 'index.php' file?  Or are ther others?

      Again, apologies for muddling your post with my previous responses.
      Regards
      Andy

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.