• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Success to CI4 Last Version

#1
Wink 
Woh,
I upgrade success from CI3 to CI4 last version
Happy Heart
Thanks CI team

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#2
And using success package myth/auth
Hehe...

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#3
Congratulations! Welcome aboard ?
What did you find was the hardest thing about making the transition?
Reply

#4
Thanks MGatner,
With me, the hardest is not see any project have CI4 running. But after, i see source code CI4 website2 on github, yes i read code, see structure,... and i can upgrade my project to CI4, it is great
- the second, hard when not start. But when start and read code, read guide is easy

Thanks MGatner, thanks CI Teams,

Hehe my english is bad bad, sorry about that

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#5
Rewriting the project from CI 3.2 to CI 4.04 was my best decision
- CI4 is a great choice
- Thanks CI Team

If you are new to CI4, learn it, get started right away, you may have difficulty, but gradually you will understand it better and when you understand it, you will find it easier than you ever thought

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#6
I updated my manual curl with CURLRequest CI4 (https://codeigniter.com/user_guide/libra...quest.html)
- Like it, simple

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#7
Woh, Now I see Debug Bar, i like it
CI4 is Power kaka
Code:
<!-- DEBUG-VIEW START 3 2 1 APPPATH/Config/../Views/theme/header.php -->
<!-- DEBUG-VIEW START 2 1 APPPATH/Config/../Views/theme/header.php -->
<!doctype html>
<html lang="en">
    <head>
<script type="text/javascript"  id="debugbar_loader" data-time="1601295277" src="http://myappsvn.net/?debugbar"></script><script type="text/javascript"  id="debugbar_dynamic_script"></script><style type="text/css"  id="debugbar_dynamic_style"></style>

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#8
Custom result of pagination (I learn from InsiteFX)

In Controller
Code:
$data['query'] = $model->myQuery()->paginate(10);

In Model, write a function myQuery()
Code:
function myQuery()
{
    $sql = "your query here";
    $this->db->query($sql);
    return $this;
}

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#9
Set Dynamic Base Url

In App\Config\Constants.php, (end of file)
Code:
/*
Defined Base Url
*/
if ((! empty($_SERVER['REQUEST_SCHEME']) && $_SERVER['REQUEST_SCHEME'] == 'https') ||
    (! empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ||
    (! empty($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443')) {
    $http = 'https://';
} else {
    $http = 'http://';
}
$host    = $_SERVER['HTTP_HOST'];
$baseUrl = $http . $host;
defined('APP_BASE_URL') || define('APP_BASE_URL', $baseUrl);

In App\Config\App.php
Code:
public $baseURL = APP_BASE_URL;

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#10
We're planning to use CI4 for our CRM and online order application. Before that, we used CI3 to our real estate website Smile

Now, CI4 looks much better. Thanks
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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