Welcome Guest, Not a member yet? Register   Sign In
Auth
#49

(11-27-2014, 10:35 AM)bclinton Wrote: Will CodeIgniter now come with controllers and views beyond welcome.php?  Or will the controllers/views that handle such things as logging in, logging out and password resets need to be copied into the CodeIgniter directories after install?  If they come with the CodeIgniter install and I do not want to use the auth system, will directions on deleting these files be part of the CodeIgniter installation instructions?

I assume user information will be kept in the database?  Will the creation of the user table be part of the CodeIgniter install now, or will there be a page in the User Guide with the table creation SQL like with ci_session?
bclinton, Ridiculous questions. What is your point? Your questions just show a slur against having any auth tools built into CI and offer no level headed debate what so ever. So let's ask this... Does the shopping cart library built into CI come with models, views and controllers baked in? Does it come with any kind of database structure ready to inject into your DB? Does it dictate how you must use it? No! So what is it's point? From what you are saying it should not be included in CI. Why do auth tools have to be any different?

(11-27-2014, 10:45 AM)bclinton Wrote: Since the first line of Narf's post may draw attention away from this line, I am just going to quote it here because I think it's important:




(11-27-2014, 10:28 AM)Narf Wrote: Create and use packages, stop asking for everything to be built-in. It's not possible.

As I understand it, CodeIgniter is a PHP framework meant for programmers.  Installing a library or package should not be something that is over your head.  If you aren't a programmer, try Drupal or Joomla or Wordpress.  There is a reason those CMS/blog packages are bulky messes: It's because they try to do everything so they can be used by people with little or no technical skill.  One of the reasons CodeIgniter is popular is because it's a lightweight framework designed for people who shouldn't need their hand held when it comes to installing a library.
You understand correctly. Ci is for programmers. So WTF are you mentioning swear words like Dru**l and W*****ess for? Yes they are bulky because they load everything at run time. CI only loads what you tell it to. If you don't need the shopping cart lib it won't load it. Same with auth tools if they were included. 

Isn't "use packages" what non programmers do with Dr***l and W*****ess? Don't we program custom applications using a framework in order to speed up the development and make life easier, and not keep having to reinvent the wheel?

(11-27-2014, 10:55 AM)no1youknowz Wrote:
(11-27-2014, 07:38 AM)Narf Wrote: Unlikely? Here's a promise: I am abandoning CodeIgniter if it gets a built-in "Auth tool". For the last time: not a fucking chance this is happening while I'm around.

Create and use packages, stop asking for everything to be built-in. It's not possible.

Quick, someone make a PR with auth built into CI.   Tongue

However, he is right tho.  Auth should never be a built-in component.  There are a thousand different requirements for it.  No one will ever be happy.  Make your own, if you can't, then pay someone to make what you want, if you can't use someone else's library.  If you can't do that, choose another profession.

I make my own auth systems. Every time I need a new auth, I start with my last revision and base it on that. A lot of revisions going back to the first one. Yes sure there are thousands of different requirements, but all have the same principals.  But by Christ, it would be easier if CI had more tools other than just sessions and encryption (which can be done easily without CI any way) to help and speed up the process, which is the basis for a good framework, is it not? And then there are times that I just need to slot in a simple auth to secure an admin section. No help from CI there.  I have stuff I can slot in but I bet many don't, and something like ion auth would be overkill for that. I've done a couple jobs recently in Phalcon and creating a custom auth system from scratch in that is so easy because tools are available to use and are built right in to the framework. It's not dictated how you use them. There are no predefined models or views or controllers or SQL to load in the DB. Just simple tools that make life easier and save loads of time.

I scream at clients who mention Dr***l and W*****ess. I say, "Don't you realise every site is the same? Once they crack one they can crack them all, and the code is out there for anyone to freely reverse engineer, find a vulnerability then do a search for `powered by Dr***l` and rip them all apart." That's the same reason why I make my own auth systems and don't want to "use packages" like ion auth or anything else that can be freely sourced. But like I keep saying, CI has nothing, absolutely nothing to help with that! Read my posts in this thread. I am not just saying there should be a fully baked in auth system, but the tools to speed up the development of auth systems. And if such tools were available, it would be simple to include a basic, single user admin auth in the library or at least a tutorial to help new CIers on their way.

Now if anyone wants to flounce off and abandon CI because of that suggestion, then good riddance to them!


Messages In This Thread
Auth - by zurtri - 10-29-2014, 03:57 PM
RE: Auth - by skunkbad - 10-29-2014, 06:24 PM
RE: Auth - by kilishan - 10-29-2014, 07:57 PM
RE: Auth - by zurtri - 10-29-2014, 10:35 PM
RE: Auth - by InsiteFX - 10-30-2014, 06:34 AM
RE: Auth - by Hobbes - 10-30-2014, 06:51 AM
RE: Auth - by includebeer - 10-30-2014, 07:39 AM
RE: Auth - by tristian - 11-07-2014, 06:35 AM
RE: Auth - by Shawn P - 11-12-2014, 04:38 PM
RE: Auth - by Avenirer - 10-30-2014, 08:21 AM
RE: Auth - by no1youknowz - 10-30-2014, 09:46 AM
RE: Auth - by BrandF - 10-31-2014, 08:20 AM
RE: Auth - by GrigoreMihai - 11-06-2014, 07:08 AM
RE: Auth - by GeorgeD - 11-06-2014, 08:23 AM
RE: Auth - by dmyers - 11-06-2014, 11:55 AM
RE: Auth - by GrigoreMihai - 11-06-2014, 11:46 PM
RE: Auth - by Narf - 11-07-2014, 03:05 AM
RE: Auth - by GrigoreMihai - 11-07-2014, 03:26 AM
RE: Auth - by bclinton - 11-16-2014, 10:15 PM
RE: Auth - by benoni - 11-07-2014, 04:23 AM
RE: Auth - by Tim Brownlaw - 11-12-2014, 05:09 PM
RE: Auth - by Chroma - 11-14-2014, 08:48 AM
RE: Auth - by sv3tli0 - 11-17-2014, 12:09 AM
RE: Auth - by bertansh - 11-17-2014, 05:29 AM
RE: Auth - by Rufnex - 11-17-2014, 07:11 AM
RE: Auth - by tomlagard - 11-24-2014, 08:50 PM
RE: Auth - by sv3tli0 - 11-25-2014, 02:04 AM
RE: Auth - by Tux - 11-25-2014, 05:15 AM
RE: Auth - by Narf - 11-25-2014, 06:23 AM
RE: Auth - by bclinton - 11-25-2014, 09:50 AM
RE: Auth - by twpmarketing - 11-25-2014, 02:54 PM
RE: Auth - by bclinton - 11-25-2014, 05:39 PM
RE: Auth - by alroker - 11-25-2014, 04:16 PM
RE: Auth - by sv3tli0 - 11-26-2014, 12:08 AM
RE: Auth - by alroker - 11-26-2014, 01:02 AM
RE: Auth - by includebeer - 11-26-2014, 08:48 PM
RE: Auth - by jlp - 11-26-2014, 10:52 PM
RE: Auth - by kilishan - 11-26-2014, 11:51 PM
RE: Auth - by jlp - 11-27-2014, 12:07 AM
RE: Auth - by alroker - 11-27-2014, 01:12 AM
RE: Auth - by Narf - 11-27-2014, 07:38 AM
RE: Auth - by hvmitev - 11-27-2014, 08:02 AM
RE: Auth - by bclinton - 11-27-2014, 10:35 AM
RE: Auth - by bclinton - 11-27-2014, 10:45 AM
RE: Auth - by alroker - 11-27-2014, 10:28 AM
RE: Auth - by no1youknowz - 11-27-2014, 10:55 AM
RE: Auth - by includebeer - 11-27-2014, 12:38 PM
RE: Auth - by sv3tli0 - 11-27-2014, 01:09 PM
RE: Auth - by alroker - 11-27-2014, 05:36 PM
RE: Auth - by bclinton - 11-27-2014, 09:11 PM
RE: Auth - by GeorgeD - 11-28-2014, 03:59 AM
RE: Auth - by sv3tli0 - 11-28-2014, 05:56 AM
RE: Auth - by includebeer - 11-28-2014, 06:30 AM
RE: Auth - by sv3tli0 - 11-28-2014, 07:02 AM
RE: Auth - by bclinton - 11-28-2014, 07:57 AM
RE: Auth - by sv3tli0 - 11-28-2014, 08:14 AM
RE: Auth - by includebeer - 11-28-2014, 09:10 AM
RE: Auth - by ivantcholakov - 11-28-2014, 07:34 AM
RE: Auth - by no1youknowz - 11-28-2014, 08:32 AM
RE: Auth - by DonOzone - 11-28-2014, 01:05 PM
RE: Auth - by zurtri - 11-28-2014, 05:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB