So im always wanted to build a site even if its just to finally learn everything that has to do with it. Got some good HTML / CSS / javascript / SQL / PHP books that im reading through now.
And i also got a few ideas for sites, nothing shockingly new and i dont expect it to take off or get rich by it but i need something as motivation.
What i wondered though is are there good resources for open source code? in any of the above languages for websites.
For example i cant see myself code a user login / database and everything that has to do with it. Though i assume this has been done thousands of times from scratch. I wondered if there are projects out there that offer the whole php/sql package where i could later add attributes to to hook it up with the main portion of the website.
What you want is a full CMS that has all that integrated.
I have been lucky to avoid CMSes so I can't really specifically recommend any of them.
Components like login and access management is very framework dependent.
Essentially all non-CMS frameworks have their own implementations to make things easier.
In any case you should understand the MVC structure.
If you don't want a CMS and prefer php I would go with the CodeIgniter framework.
For python I would pick web2py.
Personally I wouldn't put much effort into learning php as much.
It's a very awkward language that is on its way out. (I hope)
Why don't you setup xampp on your local pc and start the mysql database and start hacking something together with PHP?
yeah we could write it from scratch. but i would rather use that time and effort into writing code which would make the site "unique". Also with user login i would be worried about using it on a public site cause of no experience what so ever with security related issues like encryption. I assumed since it has been done so many times by so many people there would be open source choices online that we would only need to customize to have it work with our own databases. I figured before googling for it i rather ask those who have been in the business for many years and know what is a good resource or not.
SSL Encryption to your servers, then hashing and salting the received passwords with fast and trustable hashing algorithms and storing them in your DB without keeping logs of this process.
And upon login you'd take the received password, hash it with the same algorithm again and see if they match. Most probably you'll just take the received password string, then the hashed password from the db and put them in your php function and wait for it to say "yeah, matches bitch" and then you'd allow for your user to enter the page by f.e. setting in his session, that he has access level x and on each page you'd implement a function that checks if the session has the required access level to visit that page or whatever
Signature/Avatar nuking: none (can be changed in your profile)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum