Get Cindy’s Posts By Email!
Links
Connect with Cindy
Categories
-
Recent Posts
Web Tips- PHP Frameworks 5/5/2011
- jQuery fancybox ‘*.support not defined’ or ‘b.support not defined’ Error 1/9/2011
- Building Dynamic Subdomains 1/8/2011
- Daily Web Tips Not So Daily 10/29/2010
- CSS Only Menus 10/25/2010
- CSS Cheat Sheet 10/25/2010
- The Disappearing Database! ‘MySQL server has gone away’ 10/23/2010
- PHP Data Objects (PDO) 10/22/2010
- jQuery Pop-up – Facebox 10/21/2010
- What is an SSL Certificate and Do I Need One? 10/20/2010
Recent Comments
Monthly Archives: August 2010
Chicago!
The boys and I had an awesome time visiting Chicago this past weekend. We drove up on Friday (an 8 hour drive from Kentucky) and drove back on Sunday, so it was a short trip. We had a blast on … Continue reading
Building a Website: Text Editors
When you save something on a computer, it saves it to a file. The information inside that file may be in one of many different formats. The file name extension, which is the part of the name after the last … Continue reading
Posted in building websites, on technical stuff
Tagged building websites, computers, HTML, text editors
Leave a comment
Monkeying Around

I added a new header again. I like to switch them up occasionally. This one is from the Nashville Zoo a couple of years ago.
Continue reading
Updating Your Web Page Without Refreshing the Page
Hopefully, after reading some of my latest posts, it’s very clear that visitors to your site are actually seeing your web page on their local computer.
The page may have been built on the fly at your hosting server using PHP and MySQL and then downloaded to the user’s computer, but by the time the visitor sees the page, it’s on their local computer.
Javascript code in the page may be making the web page more dynamic as well, but the user’s browser is handling the Javascript dynamics.
Since the user is viewing your web page on their local computer, any updates that need to be made to the page requiring PHP and/or MySQL must happen at the server level. This means that something on the page, such as a button or a link, must send another request to the server for the updated information. This used to require a page refresh.
The click of a link or a button would send the message to the server that another page was needed from the server. It might have been the same page with new, updated information, but as far as the server was concerned, it was a new page.
In other words, once the page has been built and sent to the user’s local computer, the only way to interact with the server is to send another request. This used to mean that the user’s browser would send the request and receive a new response to show a new page.
With advances in technology, advances in the languages that we now use for web development, and advances in our web browsers, it’s now possible to update specific sections of a page without refreshing the entire page. This has allowed web developers to create web ‘applications’ instead of just web ‘pages’. Web applications look and behave more like applications that you would run on your local computer. This new technology is called Ajax – Asynchronous Javascript and XML Continue reading
Posted in building websites, on technical stuff
Tagged ajax, building websites, computers, dynamic websites, interactive websites, javascript, php, programming, servers, web browser, web development, XML
2 Comments
How to Make Your Web Pages Dynamic!
Many times we need to make our web pages dynamic on the client side of things. In other words, we need to do something dynamically on the browser side of things – your local computer – instead of at the server side. For instance, if I enter something in a form, I have to submit the form, wait for the php code to check to see if what I entered is correct and then send me the results. If my browser were somehow able to check what I entered before it sends it to the website, it could speed things up considerably.
This is where Javascript comes in. Javascript is a scripting language that works inside your browser instead of inside the web server software like PHP. Javascript allows me to send instructions to your browser through the website code. Javascript is responsible for some of the basic animation that you see on web pages such as drop down menus, pop-up boxes, and buttons that change when you move your mouse over them. Continue reading
Posted in building websites, on technical stuff
Tagged building websites, dynamic web pages, javascript, jquery, php, programming, servers
Leave a comment


