Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Controller + Model vs Ultra-slim controller that barely does anything + Library
Post: RE: Controller + Model vs Ultra-slim controller th...

@InsiteFX Thanks for your answer! It doesn't really matter to me right now what I will be using client side. jQuery, "pure" JavaScript, or even no JavaScript at all and simple site refreshes instead...
7,678 Views
7 Replies
08-20-2016, 03:40 AM
Call-Me-Captain
    Thread: Controller + Model vs Ultra-slim controller that barely does anything + Library
Post: RE: Controller + Model vs Ultra-slim controller th...

PaulD Wrote: (08-19-2016, 01:16 PM) -- lol - it seems it was not much use. You said you wanted to couple action logging with notifications. I would separate those out, they really do not have much...
7,678 Views
7 Replies
08-19-2016, 01:21 PM
Call-Me-Captain
    Thread: Controller + Model vs Ultra-slim controller that barely does anything + Library
Post: RE: Controller + Model vs Ultra-slim controller th...

Thanks for your answer! PaulD Wrote: (08-19-2016, 10:15 AM) -- There are lots of different ways you can do this. I would do this: First you need at least two tables, one for actions, and then o...
7,678 Views
7 Replies
08-19-2016, 12:43 PM
Call-Me-Captain
    Thread: Controller + Model vs Ultra-slim controller that barely does anything + Library
Post: Controller + Model vs Ultra-slim controller that b...

(I'll apologize in advance, because the number of problems increased from the basic one mentioned in the title to some more while writing this post...) Hey guys. I've been trying to implement a ...
7,678 Views
7 Replies
08-19-2016, 09:04 AM
Call-Me-Captain
    Thread: Avoid using other libraries in own library
Post: RE: Avoid using other libraries in own library

Thanks again for all of your answers! I really appreciate it. ivantcholakov Wrote: (08-04-2016, 05:53 AM) -- I think, the authentication sub-system alone (let us forget about the access to the log...
8,915 Views
8 Replies
08-06-2016, 02:03 PM
Call-Me-Captain
    Thread: Avoid using other libraries in own library
Post: RE: Avoid using other libraries in own library

Thanks for your answer! PaulD Wrote: (08-04-2016, 05:20 AM) -- Your login page does not need to check if the user is logged in or not. You do not need to check if the user is logged in before loggin...
8,915 Views
8 Replies
08-04-2016, 05:38 AM
Call-Me-Captain
    Thread: Avoid using other libraries in own library
Post: RE: Avoid using other libraries in own library

Thanks for your answer! cartalot Wrote: (08-03-2016, 05:17 PM) -- Trying to combine validating a login form - And - returning a user session - both in the same method - is messy. -- That's why I h...
8,915 Views
8 Replies
08-04-2016, 04:19 AM
Call-Me-Captain
    Thread: Avoid using other libraries in own library
Post: Avoid using other libraries in own library

Heya guys! I have another (probably stupid - I apologize in advance) question. After getting a lot of advice in one of my previous threads, I figured that I'd like to move most of my controllers...
8,915 Views
8 Replies
08-03-2016, 10:57 AM
Call-Me-Captain
    Thread: Query builder escaping periods when using TableName.Column
Post: RE: Query builder escaping periods when using Tabl...

I'm sorry. It was actually completely my bad, and the problem was somewhere else in the query. The error message said "Field name unkown" and showed me the part of the query where the field names got ...
3,615 Views
4 Replies
08-03-2016, 10:37 AM
Call-Me-Captain
    Thread: How easy PHP is
Post: RE: How easy PHP is

I started learning programming with Java (A long time ago), so I'm obviously more inclined to say 'Geez, Java is much better', but I think that every programming language has its pros and cons. Mos...
17,053 Views
13 Replies
07-31-2016, 12:54 PM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

Thank you very much! Wow, you got quite the user system there :D! Quote: -- I hope we get to see a link to your site when you are ready :-) -- Haha, I hope so too! Need to get it done fir...
17,664 Views
18 Replies
07-31-2016, 12:43 PM
Call-Me-Captain
    Thread: Query builder escaping periods when using TableName.Column
Post: Query builder escaping periods when using TableNam...

Hey! In my query, I'm using the "TableName.ColumnName" syntax to designate a specific column. Unfortunately, when using the query builder, the period in those parts is getting escaped, forming the...
3,615 Views
4 Replies
07-31-2016, 12:41 PM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

Thanks for your answer again! PaulD Wrote: (07-23-2016, 09:54 AM) -- You have a table of users, and a table of user groups. If users can only be in one group, just add a column on the user table i...
17,664 Views
18 Replies
07-23-2016, 03:05 PM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

Quote: -- Again just my preference. I normally have a directory called ajax and files in there like, Tasks_ajax.php, and all the ajax functions that for tasks live in that file. For me it means tha...
17,664 Views
18 Replies
07-23-2016, 08:14 AM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

PaulD Wrote: (07-22-2016, 11:00 AM) -- It is! Welcome to CI -- Thanks! PaulD Wrote: (07-22-2016, 11:00 AM) -- Excellent plan! But do the tutorials first, a lot will become very clear. -- Yeah, I've...
17,664 Views
18 Replies
07-22-2016, 02:56 PM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

Awesome, that's the detail that I needed to know -  I didn't figure that I could put multiple controllers into that MY_Controller.php file and that CI would still load them correctly. mwhitney Wro...
17,664 Views
18 Replies
07-22-2016, 10:49 AM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

@jaynarayan Thank you! Unfortunately, I don't want it to be accessible only by AJAX (I probably explained myself badly before, but by other system code, too. For example through the HMVC library's Mo...
17,664 Views
18 Replies
07-22-2016, 06:31 AM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

@InsiteFX Thanks for your answer! 1) I'm kind of in a rush right now, so I'll reply to this later. Is that a common way of doing it? 2) I still need it to be accessible by URL, though. But it sho...
17,664 Views
18 Replies
07-19-2016, 04:39 AM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

@kilishan Thanks for the answer! Well, I do know that I can simply put other functionality elsewhere, since CodeIgniter doesn't enforce any specific "coding style". I hadn't considered Libraries...
17,664 Views
18 Replies
07-18-2016, 02:34 PM
Call-Me-Captain
    Thread: Multiple controllers per page + Multiple instances of the same model
Post: RE: Multiple controllers per page + Multiple insta...

Thanks for your answer! I'm not saying that CodeIgniter restricts me - I'm trying to figure out the "best practice", aka how such a problem is usually solved while making good use of CodeIgniter's ...
17,664 Views
18 Replies
07-18-2016, 11:08 AM
Call-Me-Captain

Theme © iAndrew 2016 - Forum software by © MyBB