• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ecommerce website in CI

#11
(Yesterday, 09:08 AM)marksman Wrote: @calcio, do you think all vendors of laravel follow PSR-1 and 2 standards? I don't think so.

You can follow PSR standards on CI depends on your structure, you don't have to touch system folder a lot. The point here is you know what is happening in your code and you have a freewill. I both use laravel and ci the only thing I hate about laravel is their stability they call their releases a stable release then a week later they will patch it for just a minimal changes. I hate dirty repo and I hate rebasing. Thats why.

@marksman, The Laravel core I think so bur external libraries I don't think so. But I disagree about follow PSR standards on CI.The manual is very clear about it. For example, you must follow this class News_model extends CI_Model. I Can't use NewsModel. If you use it in Controller they not normalize de URL except if you configure and create routes.

Other point is. Usually in CI you can't use many other features like namespaces, other designers patterns and etc. How to use Traits In CI? It's complicate. Is isn't?

I use CI yet unfortunately or not, but use other FW too. Bur my point is focused in fast development and organizations. Use CI like I said by default you do everything manually.
PHP is Life!!! See My Portfolio
Reply

#12
(Yesterday, 10:42 AM)calcio Wrote: Other point is. Usually in CI you can't use many other features like namespaces, other designers patterns and etc. How to use Traits In CI? It's complicate. Is isn't?

Namespaces? Maybe not so hard.

What other patterns do you have in mind?
Reply

#13
(Yesterday, 12:34 PM)dave friend Wrote:
(Yesterday, 10:42 AM)calcio Wrote: Other point is. Usually in CI you can't use many other features like namespaces, other designers patterns and etc. How to use Traits In CI? It's complicate. Is isn't?

Namespaces? Maybe not so hard.

What other patterns do you have in mind?

Dude it not it seems to me, something from CI Core. It's an implementations. But I was referring about use it in a project. In your controller in application/controller use namespaces.


PHP Code:
<?php
namespace app\controllers;

use 
app\core\CI_Controller;

class 
Welcome extends CI_Controller {

    public function 
index()
    {
        
$this->load->view('welcome_message');
    }


Its impossible...

About designer pattern anyone. Try to use Dependence Injection in your code. There are a library or any way to use it?

Like I said... "But if you have domain with CI and don't mind about the points related use CI."
And Like I said again... I still use CI, so I know all these problems.

There are many other problems, but I listed the most important (in my point of view). 


BTW...



I did not say CI is not for big projects (I've worked on a big project with CI, streaming audio from America Movil TELECOM). I just said it is more laborious and not so organized.
PHP is Life!!! See My Portfolio
Reply

#14
(Yesterday, 01:51 PM)calcio Wrote: I did not say CI is not for big projects

From your webpage that is linked in your footer:

Quote:Even CI (CodeIgniter) being a good framewok it is obsolet and does not follow the good practice and not follow the new features of PHP.
Reply

#15
(Yesterday, 10:42 AM)calcio Wrote:
(Yesterday, 09:08 AM)marksman Wrote: @calcio, do you think all vendors of laravel follow PSR-1 and 2 standards? I don't think so.

You can follow PSR standards on CI depends on your structure, you don't have to touch system folder a lot. The point here is you know what is happening in your code and you have a freewill. I both use laravel and ci the only thing I hate about laravel is their stability they call their releases a stable release then a week later they will patch it for just a minimal changes. I hate dirty repo and I hate rebasing. Thats why.

@marksman, The Laravel core I think so bur external libraries I don't think so. But I disagree about follow PSR standards on CI.The manual is very clear about it. For example, you must follow this class News_model extends CI_Model. I Can't use NewsModel. If you use it in Controller they not normalize de URL except if you configure and create routes.

Other point is. Usually in CI you can't use many other features like namespaces, other designers patterns and etc. How to use Traits In CI? It's complicate. Is isn't?

I use CI yet unfortunately or not, but use other FW too. Bur my point is focused in fast development and organizations. Use CI like I said by default you do everything manually.

I think you have to learn more about CI Smile
God Bless CI Contributors Smile
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.