how much php comfortable with Oracle
IS php is Comfortable with ORACLE?I have an experience of PHP + mysql
, now, i want to move to Oracle is it right decision from my side to learn oracle ?
I'm currently working on a PHP+Oracle project. There is 2 way to use an oracle DB using PHP :
php_oci
: likephp_mysql
, it's a set of procedural functions, with no OO design. You'll have to create your own classes. But it's the only way that is not experimental/is safe.pdo_oci
: thePDO
driver for Oracles databases. As described in the man page, it is highly experimental and I can testify about that. It keep having strange behavior : infinite fetch, crash, memory overflow. Definitely not usable on a professional context.
IMO, from a developper point of view, one DBMS or another isn't really important, unless you really use the guts ot the DBMS. If I were you, I'd focus on learning another language, bases on a nother paradigm than PHP, like Erlang or Scala, maybe Java if you want to focus on OO design. That would teach you more things than trying another DB
After all, database are only there to persist the data when the application shuts down!
Edit: I would add that Oracle (and Oracle ecosystem) are widely used in big company, especially in the industry. If you'd like to work in that sector, then Oracle might be a good choice.
IS php is Comfortable with ORACLE?I have an experience of PHP + mysql, now, i want to move to Oracle is it right decision from my side to learn oracle ?
Yes, PHP is "comfortable" with Oracle. That's to say; using PDO, you can pretty much do everything you want from within PHP. In regards to moving to Oracle; you could, but I understand license fees are pretty darn high, so you might want to consider moving to another Open Source database? I have good experiences with PostgreSQL, which is as advanced as Oracle, but open source.
精彩评论