Mobile And Web On Top Of Yii

Hi,

We’re looking forward to build a website and a native mobile app on top of Yii framework as we have certain experience in it.

Which of the following architecture is better:

1-Build core models (basic models connected to AR ORM)

2-Build REST api that exposes the core models.

3-Build web app on top of the REST api layer.

4-Build mobile app on top of the REST api layer.

or

1-Build core models + web app (without having to build it on top of REST layer)

2-Build mobile native app on top of the REST api layer

Thanks