Welcome, Guest
Username: Password: Remember me

TOPIC: Front-end application for exiting component

Front-end application for exiting component 09 Feb 2012 09:00 #1216

Hi to all.
I'm new to cook! I'm interested to use it to create a front-end application for an exiting component lincensed under gpl.
There is a way to import database or exiting components?

Thanks.
Regards.
The administrator has disabled public write access.

Re: Front-end application for exiting component 09 Feb 2012 12:55 #1217

  • iconvisual
  • iconvisual's Avatar
  • Offline
  • Senior Member
  • Keen Joomla! 1.7 Developer
  • Posts: 53
  • Thank you received: 5
  • Karma: 1
Hello OpenASpace,

Having recently asked the Admin recently about Importing a database into j-cook sadly the answer is no (at this point in time).

My method of importing a legacy PHP Web App into j-cook with a large database and some 30+ Tables was to:

1. Create your j-cook Component, define the Tables you need, try to keep the Table and Field naming convention the same as your existing database/tables.

2. Usephpmyadmin with your 'old' php app and Export the database with all Tables and Fields and Data.

3. Then, according to the new tables/field names & types edit your 'export SQL' file, remove all the CREATE statements, edit all the INSERT statements so that the new fields match the SQL export file fields.

4. Install your Component into your local/online Joomla! instance. Test it, test it, and test it again.

5. The using phpmyadmin do the reverse and IMPORT your up to date SQL file into your NEW database/tables.

6. Go back to Step 1 if errors occur, if not then you are done. New Component installed with old data.

Warning: your mileage may vary.

Hope that helps a litte, if not then please feel free to make another Post and we'll all try and help you.

Regards,

Edward.
Keen Joomla! and PHP/MySQL developer. Excited about J-Cook.
The administrator has disabled public write access.
The following user(s) said Thank You: admin
Time to create page: 0.084 seconds

Get Started