Sven70 Posted August 8, 2008 Share Posted August 8, 2008 Hope that somebody can help me! I am new with PHP, 3 days! I got a work, which I can at the moment not full solve! I got a part of UML for vehicles! Now I should first update the UML with a few missing methods (this I have done)! Now I should create the PHP classes from this with acces to a SQL database! Her I have now the problems. I am not sure which functions I really must use and how the access the is. Is somebody who can help me? When yes, I could send the files which I have till now, so that we can discuss! Thanks, Sven Quote Link to comment https://forums.phpfreaks.com/topic/118798-problems-with-php-example-vehicle/ Share on other sites More sharing options...
libertyct Posted August 8, 2008 Share Posted August 8, 2008 wow. can you show us the UML? Quote Link to comment https://forums.phpfreaks.com/topic/118798-problems-with-php-example-vehicle/#findComment-611703 Share on other sites More sharing options...
Sven70 Posted August 8, 2008 Author Share Posted August 8, 2008 O.K. I attached the UML! [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/118798-problems-with-php-example-vehicle/#findComment-611728 Share on other sites More sharing options...
Sven70 Posted August 8, 2008 Author Share Posted August 8, 2008 This is the original UML I got. My work would be now to add necessary methods to the UML. This I have done in Vehicle and in VehicleOptions. Then I created the 4 PHP classes, but till now with empty methods, because I am not full sure, what all to do there. As I sayed, I am now the third day in PHP and do not full know till now. What I also should dois, access the database with Zend Framework with Active Records. Sven Quote Link to comment https://forums.phpfreaks.com/topic/118798-problems-with-php-example-vehicle/#findComment-611735 Share on other sites More sharing options...
Sven70 Posted August 8, 2008 Author Share Posted August 8, 2008 I upload now also my 4 classes which I short created. It would be nice if somebody could have a look and adapt what I missed. Or explain what I must do! Short explanation what I must do: I must create two MySQL tables, one for Vehicle, one for VehicleOptions, based on the UML attached earlier. Till now I have not done this, because I did not get running MySql. I will try to install and run it again tomorrow. What I also must do is, access the database with Active Records from ZendFramework. This I figured till now also not out, how to do this. When somebody could explain or show how to do, or where I could find detailed descriptions, [/img] would be also nice. Thanks, Sven [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/118798-problems-with-php-example-vehicle/#findComment-611981 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.