Jump to content

administrator

Administrators
  • Posts

    3,102
  • Joined

  • Last visited

  • Days Won

    379

Posts posted by administrator

  1. "I have been thinking that the links to short articles could produce a 'pop-up' window in front of the current page, showing the article. Is this a good idea?"

     

    This is something you want to avoid. Usability studies have shown (and my own experience) that people don't like pop-up windows. Just have the article appear in the main window.

     

    ... People like to use the 'back' button and pop-ups add an extra level of complexity that will only frustrate.

     

    Stef

  2. Hi,

     

    There are many ways to approach this. The manual way would be to create a series of data objects (objects who's job it is to interact with the database) and in those objects, would contain your php database code.

     

    You would then create another bunch of 'controller' objects that would use your database objects to interact with the database objects. Hard to understand in one sentence I know ...

     

    This come down to MVC architecture. We cover that in our php shopping cart tutorial and in our advanced php lessons that are coming out now.

     

    The links:

     

    http://www.killerphp.com/tutorials/shopping-cart-tutorial/

     

    http://www.killerphp.com/articles/getting-into-php6-and-advanced-php-concepts-part-1/

     

    The other way is to use something like the zend framework where they have set up a structure/framework where they worked this out.

     

    Stefan

  3. I am happy to announce our new Flash CS4 video tutorials are finally ready! It only took me a year to get Santo (the author of the video tutorial course) to finally do it ? better late than never I suppose.

     

    Anyway, it's a good one and you can check out free sample videos here:

     

    http://www.killervideostore.com/video-courses/beginners-flash-cs4.php

     

    Some bullet points:

     

    * Learn Flash in easy to understand bite-sized videos.

    * Learn how to use Flash's new bones tool.

    * Learn the key to Flash animations: Symbols and Movieclips

    * Download the videos as many times as you need - there is no time limit!

    * Buying the DVD gets you the download for FREE, so you can start right away while you wait for the DVD to arrive.

     

    Thanks,

     

    Stefan

  4. To be honest, it has been a long time and I forget the specific nerd nuances between the two loop types.

     

    Off hand though, I know that with a WHILE loop, you don't have initialization and declaration of variables within the declaration of the loop ... as you do with FOR loops.

     

    With WHILE, you have to declare your variables beforehand and the increment/decrement the variables WITHIN the statement block. Yes, this is nerdy stuff!

     

    :o

     

    So let's translate that into English: WHILE loops look one way, FOR loops look another - but they do the same thing!

     

    ;)

     

    For most programmers, it comes down to personal preference whether to use a FOR loop vs. a WHILE.

     

    ... I wouldn't get too concerned about it.

     

    Stefan

  5. Hi,

     

    I'm not one to promote our stuff regularly, but I would like to announce our new JQuery video tutorial course.

     

    Though not strictly related to PHP, JQuery is a very popular Javascript library that many PHP programmers find themselves working with.

     

    Besides straight JQuery videos, we do get into some PHP specific subjects:

     

    * PHP and Ajax

    * PHP and JSON

     

    The table of contents:

     

    * Getting jQuery: Part 1 ? 8:22 minutes

    * Getting jQuery: Part 2 ? 8:57 minutes

    * Events: Part 1 ? 14:43 minutes

    * Events: Part 2 ? 13:23 minutes

    * Dom manipulation ? 10:39 minutes

    * Ajax introduction ? 10:16 minutes

    * Ajax with PHP ? 17:59 minutes

    * Introduction to JSON ? 14:47 minutes

    * PHP classes with JSON ? 21:21 minute

     

    Any forum moderators interested in a copy, PM me and I will set you up.

     

    Thanks,

     

    Stefan

  6. The advantage of using Wordpress and many other Blogs/CMS software, is that they take care of all the SEO stuff for you automatically.

     

    Other than that, there is nothing special about Wordpress based pages vs. static HTML pages.

     

    I use Wordpress all over the place.

     

    Stefan

  7. You cannot do it fully in Javascript. You have two options when including mp3's in your web pages:

     

    1. Use a Flash based mp3 player. There are several free ones that you can find with Google.

    2. Just link directly to the mp3 file as you would link to a page.

     

    Stef

  8. LSW has got it right: convert to MySQL.

     

    Remember that Access was designed to be a single user database; it does not handle multiple users hitting it at the same time to well.

     

    You can either export as a text file as LSW suggest, or you can use a program that will convert an Access database to MySQL. Your choic,e depending on how complex your Access database is.

     

    Stefan

  9. Frames were essentially invented to deal with browser layout limitations - you could use frames to divide the page and load different pages into those divisions. I remember when they first came out ... it was amazing and amazingly confusing.

     

    But today with CSS positioning, scrolling divs and iframes, frames are a relic and should never be used.

     

    Stefan

×
×
  • Create New...