I could use a shove in the right direction...
I'm using the Dreamweaver MX suite to build a website for my business. At
first I threw
something together quickly just to get going. I now need to replace that
with something more refined. It seems that using PHP would be a part of
that.
I quickly learned that frames are problematic. I'm also reading that using
tables (for layout) isn't the best idea either. And, then, PHP and DHTML
came to the foreground as technologies I might need to utilize/understand.
The proposed site is relatively simple. Nav bar on top. Menu on the left.
Content front and center. Pretty standard stuff. The question is about
"best practices" for creating such an animal and making it so it is
reasonably easy to maintain.
I've seen PHP include() examples for inserting common elements (nav bar,
menu?) on every page without having to laboriously hand code them. I'm also
told that I might consider using DHTML instead, or in combination with, a
PHP approach. Of course, there's also CSS for the actual formatting.
I find myself going in circles without finding a clear path to follow. Can
someone offer a birds-eye view of what a sensible approach might be and
where
I would use each technology? I've setup a local Apache server with PHP and
mySQL ready to go.
For a look of where I want to go with the site you can go to http://martin.ecinemasys.com/ where I've placed my latest experiment --in
embryonic stages.
Thanks,
--
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~
Martin Euredjian
To send private email: 0_******@pacbel l.net
where
"0_0_0_0_" = "martineu" 16 2518
"Martin Euredjian" <0_******@pacbe ll.net> wrote in message
news:bh******** **********@news svr29.news.prod igy.com... I could use a shove in the right direction...
I'm using the Dreamweaver MX suite to build a website for my business. At first I threw something together quickly just to get going. I now need to replace that with something more refined. It seems that using PHP would be a part of that.
I quickly learned that frames are problematic. I'm also reading that
using tables (for layout) isn't the best idea either. And, then, PHP and DHTML came to the foreground as technologies I might need to utilize/understand.
The proposed site is relatively simple. Nav bar on top. Menu on the
left. Content front and center. Pretty standard stuff. The question is about "best practices" for creating such an animal and making it so it is reasonably easy to maintain.
I've seen PHP include() examples for inserting common elements (nav bar, menu?) on every page without having to laboriously hand code them. I'm
also told that I might consider using DHTML instead, or in combination with, a PHP approach. Of course, there's also CSS for the actual formatting.
I find myself going in circles without finding a clear path to follow.
Can someone offer a birds-eye view of what a sensible approach might be and where I would use each technology? I've setup a local Apache server with PHP
and mySQL ready to go.
For a look of where I want to go with the site you can go to http://martin.ecinemasys.com/ where I've placed my latest experiment --in embryonic stages.
Thanks,
What's wrong with using tables?
You do also realise that you are opening a big can of worms getting into
database driven sites. Not that they aree hard to implement, but it will
take a fair amount of time to get efficient at PHP coding.
I would suggest that if you are going to learn PHP, get rid of MX, or at
least use it in code view. You will find de-bugging alot easier if you
actually know what the code looks like.
Are you learning for a job in the industry or just for a single site?
If the latter, it may be worth evaluating how much your time is worth, and
get a pro to do the job.
Much easier, less headache and better sleep :)
Regards
Richard Grove
01892 546979 http://shopbuilder.org - ecommerce systems
Become a Shop Builder re-seller: http://www.affiliatewindow.com/affil...ls.php?mid=611 http://www.affiliatewindow.com/a.pl?590
"Richard Grove" wrote: What's wrong with using tables?
Not entirely sure. I've seen all sorts of sites and posts that say that
using tables for layout should be avoided in favor of CSS.
You do also realise that you are opening a big can of worms getting into database driven sites.
Yup. I won't be the one doing the db-based site. I just want an
incremental step up at the moment. From what you say it sounds like I
should just use tables, do it up and move on.
Have you seen typo3 (www.typo3.org)? Any thoughts?
Are you learning for a job in the industry or just for a single site?
Single site at the moment. Any other site would be a personal hobby. This,
in the long run, will be better off in the hands of pro's, of course.
--
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~
Martin Euredjian
To send private email: 0_******@pacbel l.net
where
"0_0_0_0_" = "martineu"
"Martin Euredjian" <0_******@pacbe ll.net> wrote in message
news:xI******** **********@news svr29.news.prod igy.com... "Richard Grove" wrote:
What's wrong with using tables? Not entirely sure. I've seen all sorts of sites and posts that say that using tables for layout should be avoided in favor of CSS.
You do also realise that you are opening a big can of worms getting into database driven sites.
Yup. I won't be the one doing the db-based site. I just want an incremental step up at the moment. From what you say it sounds like I should just use tables, do it up and move on.
Have you seen typo3 (www.typo3.org)? Any thoughts?
Are you learning for a job in the industry or just for a single site?
Single site at the moment. Any other site would be a personal hobby.
This, in the long run, will be better off in the hands of pro's, of course. -- ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~ Martin Euredjian
To send private email: 0_******@pacbel l.net where "0_0_0_0_" = "martineu"
Until all browsers support CSS 100%, I'm going to keep using tables and only
use CSS for styling.
My .02.....
I noticed that Message-ID:
<D2************ *********@twist er.tampabay.rr. com> from jn contained the
following: Until all browsers support CSS 100%, I'm going to keep using tables and only use CSS for styling.
According to W3 you should only use tables for tabular data and not for
layout. Failing that, all tables should linearise, ie make sense when
read line by line such as in a text reader. It's an accessibility
thing. The CSS evangelists get quite passionate about it.
The process they recommend is that you first write the content and then
mark up the html (headings, subheadings, paragraphs etc) and use CSS to
apply the style and formatting.
Please note, I'm not saying /I/ do this all the time.
See http://www.csszengarden.com/
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
In article <22************ *************** *****@4ax.com>,
Geoff Berrow <bl******@ckdog .co.uk> wrote:
:According to W3 you should only use tables for tabular data and not for
:layout. Failing that, all tables should linearise, ie make sense when
:read line by line such as in a text reader. It's an accessibility
:thing. The CSS evangelists get quite passionate about it.
This gets a bit OT here, I know, but:
I recently had to lay out a chapter from the Bible. I tried it first
using divs and CSS, didn't like the look. I tried an ordered list and
CSS, which you'd think would be perfect for numbered verses from the
Bible, right? Nah. I couldn't get the look I wanted. So I put it in a
table (and CSS), each verse is a row, the number and text are separate
cells in the row. It does exactly what I want, I can style the content
any old way it pleases me.
So, what is tabular data, I guess is my question?
Anyway, last I heard from the CSS/HTML purists was you shouldn't use
multi-syllable words in your content because stupid people won't
understand and you don't want to alienate 88% of your possible viewers
do you, User-Agent 99?
--
Looks like more of Texas to me.
.... Arizona, where the nights are warm and the roads are straight.
I noticed that Message-ID:
<Wa************ **************@ nr-tor01.bellnexxi a.net> from Warren Oates
contained the following: This gets a bit OT here, I know, but:
I recently had to lay out a chapter from the Bible. I tried it first using divs and CSS, didn't like the look. I tried an ordered list and CSS, which you'd think would be perfect for numbered verses from the Bible, right? Nah. I couldn't get the look I wanted. So I put it in a table (and CSS), each verse is a row, the number and text are separate cells in the row. It does exactly what I want, I can style the content any old way it pleases me.
I'm not a purist, but it sounds like your table would linearise just
fine anyway. So, what is tabular data, I guess is my question?
I think it's data that could have column headers and row headers. Since
you have column headers of 'verse number', and 'text' and a row header
of 'verse' then I'd say you were working with tabular data. Anyway, last I heard from the CSS/HTML purists was you shouldn't use multi-syllable words in your content because stupid people won't understand and you don't want to alienate 88% of your possible viewers do you, User-Agent 99?
They are people who like rules. HTML 4.01Strict is a real turn on. It's
that word 'strict' you know.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
A follow-up question/s (please excuse my ignorance of the subject):
Where/when are the following technologies used in a site:
PHP
DHTML
CSS
TABLES
CSS vs. TABLES has already had some discussion. I guess it's one of those
things where we know what the ideal goal might be but, for now, you have to
use what works. Is that a fair statement?
PHP vs. DHTML might be where I show my ignorance. As I understand it, I can
use PHP to, among other things, intelligently alter what content is shown on
a page based on a state variable or something like that. Where I got
confused was when speaking to a web guys he threw out a single statement
"You might want to think about DHTML".
Can someone point me to a discussion on where the different technologies fit
in today's web design world? In other words, when you set out to build a
non-trivial website, what technologies are chosen for the various aspects of
that site, why and how are they used?
Thanks,
--
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~
Martin Euredjian
To send private email: 0_******@pacbel l.net
where
"0_0_0_0_" = "martineu"
In article <sH************ ******@newssvr2 9.news.prodigy. com>,
"Martin Euredjian" <0_******@pacbe ll.net> wrote:
:In other words, when you set out to build a
:non-trivial website, what technologies are chosen for the various aspects of
:that site, why and how are they used?
I've found that using xhtml strict makes things easier, the rules are
easy to understand, everyone (supposedly) knows what they are and the
browser will (hopefully) render the page quicker. If you do this, you
will by default be using CSS and HTML 4.
You'll be told to avoid JavaScript, which is silly, it's part of the
browser package, and shouldn't be disabled by anyone. Not all of your
sites will be on servers with anything as nice as PHP to play with.
You'll be told to avoid frames, which I agree with, but not because
there's anything wrong with them, I just find them ugly and difficult to
manage visually.
You'll be told to avoid Flash, and that's absolutely right, it's silly
and serves no purpose if you're not an animator advertising your work.
You'll be told to design every site with blind people in mind, and this
is okay if you're designing a site for blind people; if you're designing
a site that sells auto parts, you can safely ignore the blind, because
blind people don't drive cars except in Connecticut.
Essentially, use whatever technology makes the site work and your job
easy. Try to do as much on the server side as you can. Validate validate
validate. Spell chequing is good too.
--
Looks like more of Texas to me.
.... Arizona, where the nights are warm and the roads are straight.
"Martin Euredjian" <0_******@pacbe ll.net> schrieb: PHP DHTML CSS TABLES
Can someone point me to a discussion on where the different technologies fit in today's web design world? In other words, when you set out to build a non-trivial website, what technologies are chosen for the various aspects of that site, why and how are they used?
PHP - server side scripting
DHTML - done with JavaScript for client side scripting
CSS - definition of the optical layout (kind of presentational markup)
TABLES - for tables in a (X)HTML page
PHP will work always, because I control the webservers. Tables should
work always, since they are standard since over 10 years. I use
JavaScript and CSS, but all my pages will still work if those
technologies are not present on a users browser.
Regards,
Matthias This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: yensao |
last post by:
Hi,
I have a hard time to understand difference and similarities between
Relational database model and the Object-Oriented model. Can somebody
help me with this?
Thank you in advance.
Yensao
|
by: Jim |
last post by:
I need some help getting started with a .NET web project for a
commercial site. I am new to .NET and my understanding of some (but
not all) of its concepts is a little sparse. I apologize for the
length of this message, but hopefully it will help someone here give
me the most concise and useful information, and perhaps help others
out as well. :)
It's been a while since I've had to design anything "real" for the
web. I think the last...
|
by: Joe Rigley |
last post by:
Help Please!
I've been tasked with converting a portion of the corporate web site that
currently utilizes local user accounts and NTFS via Basic Authentication to
access certain files on the web site to an ASP .NET Forms Authentication
approach with SQL Server. I'm just getting comfortable with ASP .Net, but
strong in Classic ASP.
|
by: dgraper |
last post by:
Friends:
I'm doing some work for a small government client centralizing data from
a bunch of little databases into SQL Server. Everything's been easy
except for reading in data from a set of small, single-table Lotus
Approach files which the client updates periodically and which I need to
read into SQL Server programmatically.
I've been trying to do this using VB.NET but can't figure out how to do
it. I'm running VB.NET 2003...
|
by: Sam |
last post by:
Hi,
I have a serious issue using multithreading. A sample application
showing my issue can be downloaded here:
http://graphicsxp.free.fr/WindowsApplication11.zip
The problem is that I need to call operations on Controls from a
delegate, otherwise it does not work. However each time I've done an
operation, I must update the progressbar and progresslabel, but this
cannot be done in the delegate as it does not work.
| |
by: Peschtra |
last post by:
Hello --
I am trying to write to a a MySql database using php, and I seem to be
hitting a wall.
I am attaching my php file in case someone can look at it. When I run
it, I don't get any error messages and all my echoes come through but
nothing is written to my database. I think I am missing something
stupid. Any help would be appreciated.
|
by: pamelafluente |
last post by:
I am still working with no success on that client/server
problem. I need your help. I will submit simplified versions
of my problem so we can see clearly what is going on.
My model:
A client uses IE to talk with a server.
The user on the client (IE) sees an ASP net page containing
a TextBox. He can write some text in this text box and
push a submit button.
|
by: Rex |
last post by:
Hi All - I have a question that I think MIGHT be of interest to a
number of us developers. I am somewhat new to VIsual Studio 2005 but
not new to VB. I am looking for ideas about quick and efficient
navigating within Visual Studio 2005. Let's say your project (or
solution) has dozens of forms and hundreds or even thousands of
routines.
Two Questions:
1) BUILT-IN to Visual Studio 2005. What ideas do you have to quickly
|
by: Jay |
last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send
text messages to many, many employees via system.timer at a 5 second
interval. Basically, I look in a SQL table (queue) to determine who needs
to receive the text message then send the message to the address. Only
problem is, the employee may receive up to 4 of the same messages because
each thread gets the recors then sends the message. I need somehow to
prevent...
|
by: slikrik98 |
last post by:
Greetings,
I believe I have narrowed down my issues to one simple question, and I'm hoping someone with async events experience can help me out.
My question is: how is using EventsHelper.FireAsync() different from using EventsHelper.Fire() BUT having the listener's event handler spawn a new thread to do the work?
In my program, I have a data feed coming in and I have a separate form that has a DataGridView on it. Each time a message...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |