I'm just a beginner with PCG, and I would to find some examples of php code for using PCG.
.
The pdf document has no "real" examples to start with PCG.
My install is ok (windows XP)
Please help me.
Regards,
Fabrice
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fabrice, I'm also very new to PCG, too, but I'll give you my input since you haven't had a reply yet.
PCG gives you complete working pages when you use the "Generate All Code" link. It will generate AND SAVE the pages into the "simple" directory. (For my XAMPP install on this XP box, it's at C:\Program Files\xampp\htdocs\phpCodeGenie3\web\generatedCode\simple\mydatabase\)
If you go to that URL, you should be pages ready to go.
The other links will generate code for you, but you'll have to copy the code, paste into a text editor, & save it. You'll also have to make sure you take care of all the dependencies, like "include_once("dbConnection.php");". Just start off with the "Generate All Code" link for now.
I have very high hopes for this very cool tool! But so far, I keep running into path & postgresql issues, so I've only had moderate success. (I've hard coded some of these declared constants to just get it somewhat working.) But keep in mind, this could easily be my fault!
As for a tutorial, I think that's a great idea. Perhaps that something I can contribute once I spend more time w/PCG (since I only starting using it this morning).
Let's all put some effort behind this project because it has a lot of potential! Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been using PCG on and off for about 3 months now! I find it still has good gems and useful things that I'm just finding out about now. So do persevere with it!
The greatest issues is always the configuration but once you've got that licked (believe me, it does happen) you'll be find with this product. Being very new to PHP and HTML coding, it has helped me a big step up the curve. It's very useful for retrieving results from single tables and getting results back from table-joins is not much more work. If you have set up problems I can try to help. The only other piece of advice is don't bother with the beginning programming and go straight to the advanced users. It's much more userful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Freakazoid3, I think we may be getting off topic, but I'm curious what tips you have to getting pCG3 installed & operable.
I tried using this with postgresql but gave up after it appeared to lack support for pg (although adodb was suppose to offer this). I had a few minutes &, based on your success, thought I'd give it a go w/mysql which pCG3 appears to support.
Early on, everything seems fine. But when the code is generated (advanced, as per your suggestion), nothing seems to work. Specifically, paths in the code (mostly include files) have to be fixed, extra slashes removed, etc. These seem like very easy bugs to fix (& really, they shouldn't be there since the developer chose this particular directory structure).
I know there's some good stuff in here & the author has worked very hard on this project. But this seems so broken that it should be considered a 0.8b version rather than a 3.0 release.
It also seems the author has moved on to other things, so who wants to take over & move this gem forward?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm just a beginner with PCG, and I would to find some examples of php code for using PCG.
.
The pdf document has no "real" examples to start with PCG.
My install is ok (windows XP)
Please help me.
Regards,
Fabrice
Fabrice, I'm also very new to PCG, too, but I'll give you my input since you haven't had a reply yet.
PCG gives you complete working pages when you use the "Generate All Code" link. It will generate AND SAVE the pages into the "simple" directory. (For my XAMPP install on this XP box, it's at C:\Program Files\xampp\htdocs\phpCodeGenie3\web\generatedCode\simple\mydatabase\)
If you go to that URL, you should be pages ready to go.
The other links will generate code for you, but you'll have to copy the code, paste into a text editor, & save it. You'll also have to make sure you take care of all the dependencies, like "include_once("dbConnection.php");". Just start off with the "Generate All Code" link for now.
I have very high hopes for this very cool tool! But so far, I keep running into path & postgresql issues, so I've only had moderate success. (I've hard coded some of these declared constants to just get it somewhat working.) But keep in mind, this could easily be my fault!
As for a tutorial, I think that's a great idea. Perhaps that something I can contribute once I spend more time w/PCG (since I only starting using it this morning).
Let's all put some effort behind this project because it has a lot of potential! Thanks.
I've been using PCG on and off for about 3 months now! I find it still has good gems and useful things that I'm just finding out about now. So do persevere with it!
The greatest issues is always the configuration but once you've got that licked (believe me, it does happen) you'll be find with this product. Being very new to PHP and HTML coding, it has helped me a big step up the curve. It's very useful for retrieving results from single tables and getting results back from table-joins is not much more work. If you have set up problems I can try to help. The only other piece of advice is don't bother with the beginning programming and go straight to the advanced users. It's much more userful.
Freakazoid3, I think we may be getting off topic, but I'm curious what tips you have to getting pCG3 installed & operable.
I tried using this with postgresql but gave up after it appeared to lack support for pg (although adodb was suppose to offer this). I had a few minutes &, based on your success, thought I'd give it a go w/mysql which pCG3 appears to support.
Early on, everything seems fine. But when the code is generated (advanced, as per your suggestion), nothing seems to work. Specifically, paths in the code (mostly include files) have to be fixed, extra slashes removed, etc. These seem like very easy bugs to fix (& really, they shouldn't be there since the developer chose this particular directory structure).
I know there's some good stuff in here & the author has worked very hard on this project. But this seems so broken that it should be considered a 0.8b version rather than a 3.0 release.
It also seems the author has moved on to other things, so who wants to take over & move this gem forward?