Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Using Codeigniter as RestAPI (using Axios)
Post: RE: Using Codeigniter as RestAPI (using Axios)

connectgrid Wrote: (10-13-2020, 06:17 AM) -- [...] -- Strange, I knew that it would target the $_POST and checked it (even tryed to manually populate it for testing purposes) but it wouldn't work. I...
6,526 Views
5 Replies
10-14-2020, 07:26 AM
shinseiten
    Thread: Using Codeigniter as RestAPI (using Axios)
Post: RE: Using Codeigniter as RestAPI (using Axios)

I don't understand what you've said sorry... I tryed to create a route to update with POST PHP Code: -- $routes->post('events', 'Events::update/$1'); $routes->resource('events'); -- but for some r...
6,526 Views
5 Replies
10-12-2020, 03:08 PM
shinseiten
    Thread: Using Codeigniter as RestAPI (using Axios)
Post: Using Codeigniter as RestAPI (using Axios)

Hello, I'm trying to use Codeigniter 4 as a RestAPI, but I'm encountering an high number of problems. Some of them are strangely omitted in the docs (and I can't search in the forum because there's a ...
6,526 Views
5 Replies
10-01-2020, 03:04 AM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

Hello, another question, I couldn't split the nuxts files in any way (I wanted to put assets in public/ and index.html in app/Views/), so I resorted to put everything in public and then, instead of lo...
23,770 Views
23 Replies
04-15-2020, 04:42 PM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

albertleao Wrote: (04-13-2020, 02:11 PM) -- I'm not sure what you mean by "create routes by returning an axios call that points to a server api". Are you trying to manage your nuxt/front end route...
23,770 Views
23 Replies
04-13-2020, 02:28 PM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

Don't worry, I'll find a way and this are all very valuables information. Another problem. I thought to have solved it but I can't find a proper way... I can create routes by returning an axios call ...
23,770 Views
23 Replies
04-13-2020, 10:55 AM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

albertleao Wrote: (04-13-2020, 09:32 AM) -- With Nuxt, you have the ability to choose where your resources folder is. I'd just create a 'assets' folder in your public director and have the outputs se...
23,770 Views
23 Replies
04-13-2020, 09:57 AM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

albertleao Wrote: (04-13-2020, 06:50 AM) -- You'd have to play with the output. I wouldn't recommend it as it couples your frontend with your backend. I guess it depends on how your backend is setup....
23,770 Views
23 Replies
04-13-2020, 09:23 AM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

albertleao Wrote: (04-12-2020, 06:30 PM) -- Hey! Sorry unfortunately the code is proprietary and we've almost completed migrated off of codeigniter at this point so a lot wouldn't make sense unless ...
23,770 Views
23 Replies
04-13-2020, 05:03 AM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

@albertleao  if I'm not asking too much... can I see an example of what you mean? I'm struggling a little to find a comfortable structure.
23,770 Views
23 Replies
04-12-2020, 04:23 PM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

albertleao Wrote: (04-08-2020, 09:45 PM) -- As I mentioned in my post above, there IS a way to do product pages without a node server. You can create dynamically generated routes in Nuxt with server...
23,770 Views
23 Replies
04-12-2020, 03:55 AM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

Exactly. But the problem with Nuxt and Angular Universal (and all other equivalents), is that for dynamic pages (like a product page) you must render them on the fly, and for do this you need Node....
23,770 Views
23 Replies
04-09-2020, 01:33 AM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: RE: New World Frontend Order - how Codeigniter fit...

Well, SEO stop me. Without SSR (and that need Node, not PHP) the page will be blank. Google seems to understand a little, but other engines no. Maybe I just need to wait for crawlers to catch up, but...
23,770 Views
23 Replies
04-08-2020, 02:38 PM
shinseiten
    Thread: New World Frontend Order - how Codeigniter fit in a javascript frontend world?
Post: New World Frontend Order - how Codeigniter fit in ...

Hello. I have a very important question. I upgraded Codeigniter from 3 to 4 and it feels wonderful... but I'm asking myself. Is it born already old? In the MVC world, the View part nowadays is don...
23,770 Views
23 Replies
04-06-2020, 09:20 AM
shinseiten
  Information Thread: If requested language is declared but empty, return default key
Post: If requested language is declared but empty, retur...

I don't understand if this is wanted or a bug caused by a falsy value.  This prevent me to create a placeholder for future translations (a workaround is adding a space character, but it's ugly).
772 Views
0 Replies
04-03-2020, 08:01 AM
shinseiten
    Thread: Codeigniter Model VS Query Builder
Post: Codeigniter Model VS Query Builder

Codeigniter Model and Query Builder. I am confused about the redundancy of these functions and the fact that they seems to have different ways of manipulating and returning data. I'm migrating a w...
5,998 Views
7 Replies
03-25-2020, 09:59 AM
shinseiten

Theme © iAndrew 2016 - Forum software by © MyBB