GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech Where's an epic primer on Bootstrap sites with authentication? (https://gfy.com/showthread.php?t=1198886)

Bladewire 05-24-2016 05:50 PM

Where's an epic primer on Bootstrap sites with authentication?
 
GFY bros unite!

Please point me in the right direction 👍

shake 05-24-2016 06:20 PM

What do you mean by authentication - the ability for Web users to create usernames/passwords etc? Bootstrap is a front-end frame work ( in browser Gui) you'll need a back end such as wordpress, etc

AdultKing 05-24-2016 06:23 PM

Quote:

Originally Posted by Bladewire (Post 20917607)
GFY bros unite!

Please point me in the right direction 👍

Bootstrap is a CSS framework and has nothing to do with authentication. :2 cents:

Bladewire 05-24-2016 06:51 PM

I appreciate your help guys thank you :thumbsup

Anyone with links to an epic primer?

AdultKing 05-24-2016 06:54 PM

Quote:

Originally Posted by Bladewire (Post 20917685)
I appreciate your help guys thank you :thumbsup

Bootstrap is the presentation portion of a website, a CSS framework that works with JQuery to make HTML look pretty on a page.

For authentication you need logic written in code using a language like PHP and some way of storing your users information such as MySQL.

Therefore you need to learn how to program and how to style with Bootstrap to create an application that presents Bootstrap pages and does things like authentication.

AdultKing 05-24-2016 07:16 PM

Bootstrap Getting Started

Getting started · Bootstrap

PHP Getting Started

PHP: Getting Started - Manual

MySQL Getting Started (you want to move to MariaDB but the principles are the same)

https://dev.mysql.com/usingmysql/get_started.html

It's best to use a PHP Framework once you learn these things. I suggest Laravel - but before learning Laravel you must understand Object Oriented Programming principles.

Laravel

https://laravel.com

These are behind a paywall - but Laracasts is worth every cent.

Object Oriented Bootcamp

https://laracasts.com/series/object-...ootcamp-in-php

PHP 7 Intro and Primer

https://laracasts.com/series/php7-up-and-running

Laravel 5 from Scratch

https://laracasts.com/series/laravel-5-from-scratch


Once you know Laravel then creating a Bootstrap site with authentication can be done in a few commands.

Code:

#laravel new project

#cd project

#php artisan make:auth

#php artisan migrate

fast, easy, done.

Serge Litehead 05-24-2016 09:34 PM

you could probably bootstrap something like that with Ruby on Rails

freecartoonporn 05-24-2016 10:01 PM

Quote:

Originally Posted by AdultKing (Post 20917715)
Bootstrap Getting Started

Code:

#laravel new project

#cd project

#php artisan make:auth

#php artisan migrate

fast, easy, done.

wtf is that sorcery ?

i gotta look in the laraval.

johnnyloadproductions 05-24-2016 11:06 PM

Quote:

Originally Posted by freecartoonporn (Post 20917886)
wtf is that sorcery ?

i gotta look in the laraval.

laravel is nice but it's a fucking pain to set up before you get a feel for it. Lots of dependencies and using composer/homestead isn't always so easy.

The hardest part is setting up the environment. I spent the better part of a day getting it to load correctly the first time.
I don't care what anyone says, it's finicky and I'm not a moron.
Once you get it down it's really nice, you just need to stick it out.

If you are making run of the mill sites stick with a common CMS, i.e. Wordpress.

If you need to go completely custom and build something unique I would use laravel.

bns666 05-24-2016 11:39 PM

wow this laravel looks interesting

AdultKing 05-24-2016 11:44 PM

Quote:

Originally Posted by johnnyloadproductions (Post 20917955)
laravel is nice but it's a fucking pain to set up before you get a feel for it. Lots of dependencies and using composer/homestead isn't always so easy.

The hardest part is setting up the environment. I spent the better part of a day getting it to load correctly the first time.

I don't care what anyone says, it's finicky and I'm not a moron.

Once you get it down it's really nice, you just need to stick it out.

As with anything, there is a learning curve.

Laravel is no more difficult than any other Framework. Frameworks use lots of dependencies.

The thing that sets Laravel apart from many other frameworks is it's extensive scaffolding capabilities, like in my example above to scaffold basic auth into an application.

However you do need a fair amount of knowledge to develop your app. I guess as a minimum you would need to know.

PHP
MySQL
Laravel
Git

Then for deployment you'd need to understand how to set up a web server and possibly a mail server. While it's possible to deploy a Laravel App to shared hosting I wouldn't recommend it. You need a custom Document Root for starters and then you really want to be able to lock down the server for the best security.

freecartoonporn 05-25-2016 12:03 AM

Quote:

Originally Posted by johnnyloadproductions (Post 20917955)
laravel is nice but it's a fucking pain to set up before you get a feel for it. Lots of dependencies and using composer/homestead isn't always so easy.

The hardest part is setting up the environment. I spent the better part of a day getting it to load correctly the first time.
I don't care what anyone says, it's finicky and I'm not a moron.
Once you get it down it's really nice, you just need to stick it out.

If you are making run of the mill sites stick with a common CMS, i.e. Wordpress.

If you need to go completely custom and build something unique I would use laravel.

thanks.
i custom code everything from scratch., very rarely i use wp.
but if it needs to put some time in it., then i am good with old fashioned php coding.

AdultKing 05-25-2016 12:10 AM

Quote:

Originally Posted by freecartoonporn (Post 20918051)
thanks.
i custom code everything from scratch., very rarely i use wp.
but if it needs to put some time in it., then i am good with old fashioned php coding.

Don't take 'old fashioned PHP' to Laravel - you need to use modern coding standards and OOP to get the most from it.

Laravel is great but you'll find there's a fair bit of new stuff to learn, like Blade (templating language) and Eloquent ORM (a simplified ActiveRecord implementation).

Once you learn Laravel you'll be able to do more things in less time than you have ever done with PHP.

PornWorx 05-25-2016 05:02 AM

Quote:

Originally Posted by freecartoonporn (Post 20918051)
thanks.
i custom code everything from scratch., very rarely i use wp.
but if it needs to put some time in it., then i am good with old fashioned php coding.

Over the last 10 years I went from procedural to OOP to CodeIgniter to Laravel and now I am back to building my own custom OOP apps. As nice as Laravel sounds it is much quicker and easier to just pull in a few packages from packagist using composer and go from there rather than fuck with Laravel. This hipster movement bullshit towards that framework confuses me, they all love making more work for themselves. Stick to what you are doing.

freecartoonporn 05-25-2016 05:54 AM

Quote:

Originally Posted by PornWorx (Post 20918333)
Over the last 10 years I went from procedural to OOP to CodeIgniter to Laravel and now I am back to building my own custom OOP apps. As nice as Laravel sounds it is much quicker and easier to just pull in a few packages from packagist using composer and go from there rather than fuck with Laravel. This hipster movement bullshit towards that framework confuses me, they all love making more work for themselves. Stick to what you are doing.

i tried codeigniter once and it was Pain in the Ass, last time i checked codeigniter stopped updating.

i still do procedural., and its fun.

Bladewire 05-25-2016 08:14 AM

Thanks for your input everyone! Looks like this will be a bumpy endeavor.

PornWorx 05-25-2016 08:29 AM

Quote:

Originally Posted by freecartoonporn (Post 20918393)
i tried codeigniter once and it was Pain in the Ass, last time i checked codeigniter stopped updating.

i still do procedural., and its fun.

It was purchased by a university in British Columbia I believe who update it all the time. The next version is being completely redone to use more modern techniques.

I liked CodeIgniter because I could upload it and you're done with the setup. Extremely easy to use and when quick to get the job done. It may not be the "proper" way to do things in this skewed 2016 programmer mindset but when time is money in business then your boss or client loves seeing quick progress.

AdultKing 05-26-2016 05:37 AM

Quote:

Originally Posted by PornWorx (Post 20918333)
This hipster movement bullshit towards that framework confuses me, they all love making more work for themselves.

:1orglaugh :helpme

Quote:

Originally Posted by freecartoonporn (Post 20918393)
i tried codeigniter once and it was Pain in the Ass, last time i checked codeigniter stopped updating.

i still do procedural., and its fun.

CI is being updated, last update 3.0.6. However it's lost a lot of ground and I don't consider it to be a modern framework.

Quote:

Originally Posted by Bladewire (Post 20918606)
Thanks for your input everyone! Looks like this will be a bumpy endeavor.

Good luck.


All times are GMT -7. The time now is 11:26 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc