Mike: You should see a REACT tutorial for beginners. React doesn't reload the page.
Gabriel Araya Garcia GMI - Desarrollo de Sistemas Informáticos El mié, 18 may 2022 a las 19:27, Mike Dewhirst (<[email protected]>) escribió: > On 19/05/2022 4:23 am, Dias André wrote: > > Good afternoon! I'm new to programming and I'm making a website in php, I > would like to know if there is a way for my website to update without > reloading the page and always going to the top of it. > sry for the english > > > When I was new to web programming I didn't know which way to to turn. > > I had come from Delphi and really wanted an object oriented approach. I > tried Perl with its blessed hashes and then saw PHP was object oriented so > I looked at that. Unfortunately php was only partly object oriented and I > was not mentally sufficiently rigorous to use it properly. My mistakes lay > hidden waiting to bite me. In my opinion you have to be a really brilliant > programmer to use php. I'm not and never will be that brilliant so I cannot > use php. > > Then I found Python and it was perfect. It was originally designed as a > teaching language for schoolkids. Just my cup of tea. Easy to learn and > built-in guardrails. > > Python didn't let me make the sort of mistakes php almost forced on me. It > is completely object oriented. > > Then I looked for a web framework and back then there were many. I even > went out on the Python lists and asked what people thought. There were too > many opinions. It would take me forever to learn how to use all these > different frameworks just so I could pick one. > > I decided to write my own just to teach myself Python. > > But I needed a DBMS. MySQL was big at the time and I was actually using it > in one application. A friend told it was not the best and I should use > PostgreSQL. But because I was starting from scratch I figured I would write > a simple text-file backend database until I was ready to decide which way > to to turn. > > Then the Python community declared Django was going to be its favourite > web framework. So I decided on Django. The Django docs seemed to favour > PostgreSQL so apart from using Apache because I was already familiar with > it, that was all my decisions made. > > It took a long time for me to settle and you have apparently come to > Django by pure luck :-) > > BTW, you probably need to look at javascript or HTMX for updating parts of > a page without reloading. > > Cheers and welcome! > > Mike > > > Dias André, > greetings. > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/eef9e2f0-ebce-403e-82e3-334d7575e78fn%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/eef9e2f0-ebce-403e-82e3-334d7575e78fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > > -- > Signed email is an absolute defence against phishing. This email has > been signed with my private key. If you import my public key you can > automatically decrypt my signature and be sure it came from me. Just > ask and I'll send it to you. Your email software can handle signing. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/09cb6eaf-b34b-32f8-9857-97c4ccff15cb%40dewhirst.com.au > <https://groups.google.com/d/msgid/django-users/09cb6eaf-b34b-32f8-9857-97c4ccff15cb%40dewhirst.com.au?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKVvSDCsmCwxQEX6%3DG9Jggb4Z6TY0xzPv7jMMDO59X4s%2BMoUUQ%40mail.gmail.com.

