Welcome Guest, Not a member yet? Register   Sign In
New Ignited Code: Secure and Simple Codeigniter 2.1.0 Authentication Boilerplate/Template/Starter Kit
#1

[eluser]envysea[/eluser]
Hello everyone


This looks like the spot to share my code. I've created a secure and simple authentication site and posted it to GitHub. It's meant to be used as a boilerplate, template, or starter kit for rapid development. I like the idea that developers who use this would just have to worry mostly about the styling their own CSS. Documentation is included in the download.

The site is divided into three sections: normal pages, admin pages, and secure pages. Each section has a separate header and footer so you can load unique style sheets or jQuery libraries respectively. The sections are loaded via a "module" variable passed when loading views -- "envysea" module is for normal pages, "secure" module is for secure pages, and "admin" module is for admin pages. I like it better this way so that you can create dynamic headers and footers for your views per what section of the site the user is at.

I built a custom library called Auth.php for certain task. Create, delete, and update functions within this library are shared between multiple functions. For example: the create a person page under the admin panel and the registration page share the same custom Auth.php function. The same goes for deleting and updating a user account.

I have only been teaching myself web development for the past year or so. All feedback is very welcomed! If I posted this is the wrong forum area, please let me know.

Demo at http://lostandcloud.com/members

Download at https://github.com/ncerminara/envysea-co...entication

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB