1

I already have a working OOP website. Most of the php is separated from the html. I was wondering if anyone had any tips on how to apply that site into the CI Framework. The website uses jquery, html, css, php, javascript. It also consists of a lot of libraries and classes that I bought from code canyon. For example, a geolocation library, phpthumb (image thumbnails), like and dislike system. How does one go about importing these libraries into CI?

3
  • 1
    Reading about creating Libraries and Application Packages might be a good place to start. Commented Mar 8, 2012 at 15:50
  • There is no "Do X" solution here. You have to do it manually. For anything that isnt compatible with CI you need to write an Adapter. Commented Mar 8, 2012 at 15:52
  • Yes. I know that. I'm simply asking for tips that would help me speed up the process. Commented Mar 8, 2012 at 15:56

1 Answer 1

2

There really isn't a 'step by step' process to give you.

You have to ultimately do the following:

  1. Outline each and every component to migrate into CI
  2. Test each component under CI (many libraries can be loaded just fine under CI, and play nice with the rest of your code, but do need to be tested). Read here about creating your own (custom) libraries and using them under CI.
  3. Create the required controllers
  4. Create the required models
  5. Create & copy over your HTML and structure them in views
  6. Test.. test.. and test some more

Its not a simple process, but breaking it down lets you see what you have before you.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.