At which version an odoo introduced ORM API?And need a difference between with and without ORM API.Could anyone explain me please? - odoo-8

I'm new to odoo(openerp),so facing difficulty to understand the concepts in odoo.Now I started to learn newly about ORM API.From that I arose a question like at which version an odoo introduced ORM API?And to know the difference between with and without ORM API.I searched through many website but I could'nt get the correct answers.So I came over here to get the perfect answer.Could anyone will explain me?

Related

Laravel application versioning

I have a question. How do you handle versioning and breaking changes (Especially database changes) in your Laravel applications? Ill try to explain a little why this is an issue for me.
Right now the only real versioning we did in our Laravel application was in the API's. We just used a new version prefix for the api calls and linked them to the correct controller based on the version. (e.g. prefix => v1, controller route => 'Api\V1\FooBarController'. If we had a new version we just made a copy from the old controller and modified it to our liking.
Now our issue. For our next version (v3) we have ALOT of database changes and decided to just make a separate database with a new connection and migrate any needed information over from our old database to the new one. This way we are able to keep everything working for our older API version (v2). But because we have alot of changes in the database we need to change alot in the models too.
Should i also separate my models in different folders with a version prefix? Or im i doing this totally wrong in general? Im a bit lost and would like to hear how you guys handle this.
Thank you in advance.

laravel site suggests for those who has experience of wordpress development

I have more than 3 years of experience in wordpress and php.
Now I want to getting started with laravel.
Can anyone suggest me best links which explains straight forward laravel with latest version.
https://laracasts.com/series/laravel-from-scratch-2017
This Series is totally Free to beginner
The best place to start with Laravel is the documentation, in combination with this laracasts series.
Laracasts calls itself a Netflix for Your Career! and has great tutorials to learn the simple things about Laravel, but also the more in depth parts like unit tests.

CodeIgniter with or without Doctrine?

I've used CodeIgniter with and without Doctrine. Honestly, I could not see great advantages in using Doctrine.
I'd like to know opinions about advantages in using CodeIgniter with or without Doctrine.
Thank you
I honestly believe Doctrine 2 is a great object relational mapper which you can't forget.
Read the answer in here :- Advantages of using Doctrine for PHP?
Hope this helps,
Cheers!

Need for doctrine in CI

I have been using CI since last 6 months and recently I stumbled upon an ORM Doctrine.
Now as far as I am using CI I guessed it gave almost all the required functionality that I needed using active records.
So can please some one tell what are the plus points of using doctrine above active records.
thank you
from my point of view working with Active records should do the trick.
for more information also check the bellow links
http://mackstar.com/blog/2010/07/29/doctrine-2-and-why-you-should-use-it
http://ellislab.com/forums/viewthread/227999/

yii - form/modal based on mongodb

I am using mongo db in my yii project.
I am newbie in yii and mvc. I need to show some fields from database to user. And also allow them to edit those fields when they click edit. From what I know so far, I need a modal to create form. Modal should extend CActiveRecord (because I am allowing edit).
But I have no clue how this is going to work with mongodb ? Its very differnt from mysql (structure and fields are not definite in mongodb). Some users have field (column) abc while some do user do not have it.
I am looked into the mongodbsuite for yii. But its very hard for me to understand that at this level.
I am willing to write my own custom code, if someone can give me a direction. (or I'll have to write my own code destroying the feel of yii/mvc. Fetching everything and inserting into textboxes and then allow users to edit those)
I think this extension will help you. Pls check - YIIMongoDBSuite
What i suggest instead of writing your own code and doing testing to make it work, it is always better to shift to mysql,oracle or anything that Yii supports. it would save life
Yii Supports
SQLite
mysql
PostgreSQL
SQL Server
Oracle
It might be worth asking this question on the yiiframework forum
http://www.yiiframework.com/forum/
where there seem to be people actively using yii and mongodb.

Resources