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.054 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started