Jump to content

Recommended Posts

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

 

Link to comment
https://forums.phpfreaks.com/topic/118798-problems-with-php-example-vehicle/
Share on other sites

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

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]

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.