Get Cindy’s Posts By Email!
Links
Connect with Cindy
May 2012 S M T W T F S « Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 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
Tag Archives: javascript
Daily Web Tips and Our Trip Out West
As if I needed another blog, I’ve started another so that I don’t bore all of you with all the tips about web development.
—–
On a more personal note, Matthew and I are getting excited about our trip out west. We spent part of yesterday planning our route to see just how long it’s going to take us and how much money it will take. It’s going to be a LOT of driving and a LONG time away from home, but WOW it’s going to be EXCITING!! I know we will be glad to be back home.
If any of you have suggestions about attractions we might want to see while we are on the road, please let me know! Continue reading
Posted in building websites, on living your dreams, on technical stuff
Tagged building websites, HTML, javascript, out west trip, php, travel, web development
Leave a comment
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
symfony 1.4 include_javascripts causing problems in IE6
As if we needed something else to cause problems in Internet Explorer 6, my programming partner and I finally tracked down a problem with the symfony sfDoctrineGuard plugin login in IE6. The problem we were experiencing was IE6 seemed to … Continue reading
Posted in on technical stuff
Tagged errors, javascript, php, programming, symfony, symfony 1.4
Leave a comment


