www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > General

    General Discussion and support for your general issues associated with web design.

    Reply
     
    Thread Tools Rate Thread Display Modes
      #1  
    Old 07-26-2005, 09:42 AM
    Sup3rkirby's Avatar
    Sup3rkirby Sup3rkirby is offline
    <('.'<) <('o'<) <('-'<)
     
    Join Date: Mar 2005
    Location: The Good Old US Of A
    Posts: 335
    IFRAME: Good Idea?

    I am designing a website and I would like to know if using an IFRAME for the page's content is a good idea.

    Everything else on the page pretty much stays the same(so far). This would probably be better for loading time.
    __________________
    "Given billions of tries, could a spilled bottle of ink ever land in the words of Shakespere?"


    This Is The World's Smallest Text*

    *Not Actual Size
    Reply With Quote
      #2  
    Old 07-26-2005, 01:09 PM
    bogbrushian's Avatar
    bogbrushian bogbrushian is offline
    Shibby!
     
    Join Date: Nov 2004
    Location: England
    Posts: 141
    IFRAMEs are not the way forward. check out server side includes on google. that's what i'm currently trying to implement on my site. you can have all the code that will stay the same in a separate file. with this you can make global changes in the future.
    __________________
    "Oh they have the Internet on computers now." - Homer Simpson

    "Me fail English? That's Unpossible!" - Ralph Wiggum

    Ian Hunter
    My Site: Hunters Online
    Reply With Quote
      #3  
    Old 07-26-2005, 01:13 PM
    bogbrushian's Avatar
    bogbrushian bogbrushian is offline
    Shibby!
     
    Join Date: Nov 2004
    Location: England
    Posts: 141
    sorry if that sounded obvious, if ur a techie
    __________________
    "Oh they have the Internet on computers now." - Homer Simpson

    "Me fail English? That's Unpossible!" - Ralph Wiggum

    Ian Hunter
    My Site: Hunters Online
    Reply With Quote
      #4  
    Old 07-26-2005, 10:18 PM
    fredmv's Avatar
    fredmv fredmv is offline
    Moderator
     
    Join Date: Jul 2003
    Location: Boston Area, Massachusetts
    Posts: 3,497
    No, I would not go that route. IFrames are inaccessible for a number of reasons, and are inherently inaccessible because they share many of the same problems that frames had caused. Long story short: avoid, and use server-side (SSI, PHP--whatever you have at your disposal).
    Reply With Quote
      #5  
    Old 07-27-2005, 07:36 AM
    Sup3rkirby's Avatar
    Sup3rkirby Sup3rkirby is offline
    <('.'<) <('o'<) <('-'<)
     
    Join Date: Mar 2005
    Location: The Good Old US Of A
    Posts: 335
    hmmm.... I thought I remembered learning somewhere that frames are bad, and IFRAMES are no exception. I don't really know the problems they cause or anything, but this is confirmation enough to know not to use them.

    Sadly, I do not know any server-side languages yet. But I will look into that now. Is PHP similar to C++ or JS? And is it easy to learn(on a general level of someone who knows his fair share of stuff)?

    And how would(could) PHP be used to load just a section of a page such as the content? I would like just a general answer, not in depth(since I haven't learned PHP yet).
    __________________
    "Given billions of tries, could a spilled bottle of ink ever land in the words of Shakespere?"


    This Is The World's Smallest Text*

    *Not Actual Size
    Reply With Quote
      #6  
    Old 03-19-2006, 02:06 PM
    fritzw fritzw is offline
    Registered User
     
    Join Date: Mar 2006
    Posts: 1
    "Is PHP similar to C++ or JS? And is it easy to learn(on a general level of someone who knows his fair share of stuff)?"

    C++ and Javascript have more in common with each other then PHP. But in general I think PHP has a lower learning curve. PHP as better error reporting at runtime then JS but both are less endowed then C++.

    PHP is a fun language. The nice thing about it is you can start slow with simple small expressions. <? if ($someVariable) echo 'That works'; ?>

    Its a nice replacement for frames if you not using frames for its fixed position abilities...
    <a href="?changeInclude=value">Link</a>

    <?
    if ($changeInclude == 'value')
    include ('test.html');
    ?>

    This will load the page 'test.html' if the variable '$changeInclude' is equal to "value". In most cases the server will simply put the entire 'test.html' script right in the the current page request, then deliver it to the client with out the client being the wiser. Very nice language and parsing.

    With PHP and compatibilities, unlike C and JS, you only have to worry about one computer... The Server.

    I use php includes instead of dreamweaver templates for many applications. Especially on sites larger then 10 pages (and most are).
    Reply With Quote
      #7  
    Old 03-19-2006, 02:58 PM
    schizo schizo is offline
    Code Monkey
     
    Join Date: Jun 2004
    Posts: 391
    You don't really need to learn a server-side language, just look up how to do an include statement for whichever language your host supports (ASP, PHP, Java, Perl). The file you're including could just be static HTML... of a menu perhaps.
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 01:22 PM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.