Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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.

Please Log in or Create an account to join the conversation.

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

  • iconvisual
  • iconvisual's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Keen Joomla! 1.7 Developer
  • Posts: 53
  • Thank you received: 5
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 following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.073 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started