Jump to content
Larry Ullman's Book Forums

MazzaC

Members
  • Posts

    2
  • Joined

  • Last visited

MazzaC's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks eveybody for the quick responses. I'jj just try and clarify a bit. I am completely new to the world of PHP frameworks - but not to the world of PHP. We already have our own working classes to call the RPG apis and to connect to the iSeries (DB2) and so don't need any pre written ones. My question is simply can I use these classes in combination with the Yii framework as we do want to use the other aspects of the Yii Framwork. I don't know if Yii forces you to connect in a certain way in the model or if I can write my own model that uses our existing classes. This is just my ignorance of frameworks in general. I assume that I can do this but I thought it would be best to check in case the framework prohibits this and I get too far down the line before realising this. I have heard that certain frameworks force you to do things a certain way and so this has made me a bit nervous. Hopefully this is clearer for everyone now. Thanks in advance Martin C PS. I am very impressed with the quick responses on this forum and this is also an important factor for me in chosing a framework to use!
  2. Dear All, I'm after some advice here, I hope you can help me. My company is an IBM iSeries (Mainframe) software company who are recently in the process of upgrading our old legacy code to use more modern solutions. One of our solutions is to use PHP along with some third party APIs to call applications written in the legacy code (RPG) and access the DB2 database. We have a working version of this now but we are looking to standardise our code and make it clearer by using a PHP framework so I have been analysing different frameworks and this is how I have ended up on this excellent site. So my question for you is:- As we are calling a DB2 database via SQL and using APIs to access functions in a different language, can Yii still be used as the framework? Looking at the tutorials etc, there is lots of examples of setting up code in MySQL etc and so I was wondering how rigid this is. Can we plug in our own classes etc for our model into Yii and how easy is it to do this? In other words, we want to use some of the features of the framework (MVC, front controller etc) but not everything. Is this possible? Hopefully this make sense and I am not just waffling on! Thanks in advance for any help you can give me. Martin C
×
×
  • Create New...