Get Cindy’s Posts By Email!
Connect with Cindy
- First Data Global E4 Gateway API PHP Example 1/18/2013
- Reseller Club PHP API Integration 12/21/2012
- 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
Tag Archives: programming
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.
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.
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.
As web development evolved, websites not only became better looking, but they also became more functional and interactive. More and more forms were being added so that not only could you find information, but you could send information as well. You didn’t just ‘read’ a website anymore, you could communicate with it. These new technologies opened the doors for shopping carts and ecommerce.
This interactivity required more than just HTML (structure) and CSS (style). Now, we needed languages that could make our pages more dynamic by adding in real time information or more interactive by processing and responding to the information that we could now enter into the forms. Continue reading
Before I start explaining how to build your own website, I thought it might be helpful if I explained how websites came into existence. This won’t be a very technical explanation. For really technical stuff, you should head over to my other blog – just starting it so there’s not much there yet. Continue reading
My friend, who now works at Apple, recommended that I read Aaron Hillegrass’ book COCOA Programming for Mac OS X to get a good grasp on iPhone programming. I started working through the book today. Oh, how I have missed you c! Objective-C is a bit different than the c++ I used years ago, but wow it’s fun! Continue reading