Hi, and thanks for the membership. I'm not completely new when it comes to PHP, MySQL and and programming. I have developed simple solutions that have had some simple features, but I have never really familiarized myself with PHP and MySQL. When it comes to HTML and CSS, I am probably stronger. Now I have come to the point where I want to develop a website that is more advanced than anything else I have tried before. I'm looking around the net but can not find the answers I want for help. That is why I ask you who are gurus.

The site I will create will eventually contain many different functions such as registration and login for members, creation and posting of articles, etc. The site will be developed in HTML, CSS, PHP and MySQL primarily.

I have seen a good number of web pages developed in PHP that use only one web page to retrieve all the content in the database, or as few pages as possible, I think. As a rule, only index.php is displayed, preferably with a question mark and an ID number after. It is usually and most often only the ID number that changes. I've read a bit about the subject, so I'm not completely blown away by it, but need a good deal of help to get started with this. I feel a little "lost". So let's say I'm completely blank.

I know there are ready-made CMS that are free to use. muh hum ... It's not interesting. I want to spend some time developing it myself. Make it work. Not to make money on it. It's to teach me PHP programming at a higher level than where I am today. Which is not terribly high.

1 - I want to learn this from a good tutorial, which is as simple as possible, but at the same time so advanced that it can help me with this.

2 - I would also appreciate to use you as oracles, teachers, course leaders, tutors and counselors. I do not know what is common to call a person in such a situation.

The pages I usually develop are put together as follows:

index.php with full setup with
<! doctype html>
<html>
<head>
<title> </title>
</head>
<body>
</body>
</html>

I also used to develop some pages by putting together an index.php page using

<?php require_once("........") ?>

Like this:

`<?php require_once("header.php") ?>

<?php require_once("mnu.php") ?>
	<?php require_once("main.php") ?>
		<?php require_once("footer.php") ?>`

Then I put together a page by calling in header.php, main.php and footer.php. As you may understand, I have played a little, but desperately need help to get where I want to go and get what I want.

The problem is that I do not find something that is simple enough for me to understand, but at the same time is advanced enough to meet my needs in an understandable way. Can you please help me find my ansversin the jungle of poorly explained tutorials?

There's a lot being asked there, but my one quick suggestion off the top of my head is to take a look at https://laracasts.com/ . He has quite a number of free, general tutorials that you could look at, even though the site is generally (but by no means totally) concerned with using the Laravel framework. (Which you may want to look into at some point). Jeffrey does nice tutorials with a pleasing, relaxing voice; plus I met him a few years ago and he seems like a really nice guy. 🙂

Great NogDog. I'll take a look at the site suggested. Thanks 👍😊👌

    7 days later

    Leon
    Hi Leon

    NogDog has suggested Laravel. I have a few problems with it, the first being that it requires composer to work. The second issue is that a raw installation (before you've even written any code) contains 403,361 lines of PHP code. IMHO, that's quite bloated. It also has its own very distinct, terse style -- you have to assiduously learn this style which is highly particular. It can be quite expressive, allowing you to accomplish a lot with very little code, but it's not my cup of tea.

    Another alternative is CodeIgniter. CodeIgniter also uses a single index.php file to route all your requests and only contains 97,336 lines of code. I like its simple code organization scheme, which encourages Model-View-Controller (MVC) principles.

    EDIT: The CI4 documentation is a pretty good place to start. It's quite simple to get started.

      2 months later

      Sorry to you both for not giving a reply in this thread before now. But anyway, thanks to you both.

        Trial and error is tried & true. I also like books, of which many exist. Video tutorials tend to be oriented towards one end, so don't start coding in earnest until you've seen more of those than you care to admit.

        Of course, about as soon as you learn something in what you think is the Right & True Way(tm), you find out it's outdated by the time you get busy and get it put together.

        If you're not familiar with OOP, I'd suggest don't start without that. Database abstraction, custom classes, and so on are "de rigeur" to do the kind of operations you're talking about. As a matter of fact, once you're familiar with that you might be able to grab someone else's classes and methods (e.g. "functions") and adapt them to your needs.

        And as for the "question mark", while GET is still possible it's not generally used by professionals in many circumstances, including search, login, placing content (CMS or Orders, etc.)

        Lastly, and I don't know if you said if your point is to learn about this or to get something up and get started making XYZ (money, fame, etc.), but there are companies that build software, and even people who put up things for free on Github and the like, so you might try looking for a package that does what you want and configure it to your needs.

          Write a Reply...