• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
looking for CI4 tutor

#1
Hi! I am looking for a "Tutor" to make my own CI4 RESTful base webapp, I dont want to use the views (I will do for starter page and some printing outputs) ... for views I am going to use BackboneJS.  
Nothing fancy, I want to learn while I make a base webapp (RESTful service, login and start page) using CI4.  If any want to help me please contact me!!!
I had some expierence with CI2, but I dont build the platform, and want to learn how to from scratch.

Thx for read!
Reply

#2
Hey!

Good luck on your journey. I'd recommend playing around with it yourself then asking questions when you run into speed bumps. You'll learn quicker and better that way.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply

#3
A lot of it is already built into CI 4.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#4
(04-11-2019, 01:33 PM)InsiteFX Wrote: A lot of it is already built into CI 4.

Thx, any CI4 RESTful tutorial o doc to read for start?
Reply

#5
(04-11-2019, 10:57 AM)albertleao Wrote: Hey!

Good luck on your journey. I'd recommend playing around with it yourself then asking questions when you run into speed bumps. You'll learn quicker and better that way.

I play ... a lot! ... just uploaded my work into infinityfree ... but keeps telling me ERROR 404!!

the site is http://datacode.epizy.com/ 

the controller is login by default in config, the base url is as show above, I had put mod rewrite for hide index.php and put that to '' in the config ... 

... I am lost Tongue
Reply

#6
(04-16-2019, 03:55 PM)Entai Wrote:
(04-11-2019, 10:57 AM)albertleao Wrote: Hey!

Good luck on your journey. I'd recommend playing around with it yourself then asking questions when you run into speed bumps. You'll learn quicker and better that way.

I play ... a lot! ... just uploaded my work into infinityfree ... but keeps telling me ERROR 404!!

the site is http://datacode.epizy.com/ 

the controller is login by default in config, the base url is as show above, I had put mod rewrite for hide index.php and put that to '' in the config ... 

... I am lost Tongue

I am talking for CodeIgnıter 4 Dev (It's similar with CI3)
I strongly recommend you to start with CI4.


Well, you have to check app/Config/Routes.php

There should be some kind of route list.
Here is my routes list.

$routes->get('/', 'Posts::index');
$routes->get('/post/(Confusedegment)', 'Posts::index/$1');
$routes->get('/save', 'Posts::createPost');
$routes->get('/post/delete/(:num)', 'Posts::unPost/$1');


Well here, routes->get means that client can reach that route with only get protocol.
First param is url and second param is your controller and method.

You can add something like:

PHP Code:
$routes->get('/myurl''MyController::Hello'); 


add


PHP Code:
class MyController extends BaseController 
{

public function 
hello() 
{
}




in your MyController.
Reply

#7
(04-12-2019, 09:57 AM)Entai Wrote:
(04-11-2019, 01:33 PM)InsiteFX Wrote: A lot of it is already built into CI 4.

Thx, any CI4 RESTful tutorial o doc to read for start?

I am a micro framework fan. I am 27 and loving PHP since age 12.

Trust me, after a while you will regret and want to return MVC concept.
Even if your project is tiny. I did that mistake a lot.

So, you should stay with mvc pattern in PHP. Because PHP is boilerplate free.

Also CI4 is your framework. Never keep up.
Reply

#8
(04-16-2019, 05:48 PM)tweenietomatoes Wrote:
(04-16-2019, 03:55 PM)Entai Wrote:
(04-11-2019, 10:57 AM)albertleao Wrote: Hey!

Good luck on your journey. I'd recommend playing around with it yourself then asking questions when you run into speed bumps. You'll learn quicker and better that way.

I play ... a lot! ... just uploaded my work into infinityfree ... but keeps telling me ERROR 404!!

the site is http://datacode.epizy.com/ 

the controller is login by default in config, the base url is as show above, I had put mod rewrite for hide index.php and put that to '' in the config ... 

... I am lost Tongue

I am talking for CodeIgnıter 4 Dev (It's similar with CI3)
I strongly recommend you to start with CI4.


Well, you have to check app/Config/Routes.php

There should be some kind of route list.
Here is my routes list.

$routes->get('/', 'Posts::index');
$routes->get('/post/(Confusedegment)', 'Posts::index/$1');
$routes->get('/save', 'Posts::createPost');
$routes->get('/post/delete/(:num)', 'Posts::unPost/$1');


Well here, routes->get means that client can reach that route with only get protocol.
First param is url and second param is your controller and method.

You can add something like:

PHP Code:
$routes->get('/myurl''MyController::Hello'); 


add


PHP Code:
class MyController extends BaseController 
{

public function 
hello() 
{
}




in your MyController.
thx your for your response!  I will change to CI4!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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