Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Edit forum design
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Edit forum design

 Post Reply Post Reply Page  12>
Author
jackbros View Drop Down
Newbie
Newbie


Joined: 10 February 2005
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jackbros Quote  Post ReplyReply Direct Link To This Post Topic: Edit forum design
    Posted: 10 February 2005 at 3:10pm
Hi there,
 
I want to edit the registration page as I would like to insert more fields.
 
The whole forum is created with response.write statements making it difficult for me to design visually. How do I get around this. What program will allow me to design visually using this code. I currently use dreamweaver mx.
 
Thanks
 
J
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 5:16pm
The forum pages are basically server-side script that produces html.
 
There's no visual representation available as the scripting languages can, and usually do, write html conditionally
- e.g. If x then write "HI"  else write "BYE".
A visual editor would have no way of figuring out which word to display.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
jackbros View Drop Down
Newbie
Newbie


Joined: 10 February 2005
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jackbros Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2005 at 7:17am
How does one produce this forum then, is it just coded without the visual part?
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2005 at 7:25am
unless you know of a program that can read asp then you have to write the code by had.

also means you have to visualise the code in your head.
Back to Top
jackbros View Drop Down
Newbie
Newbie


Joined: 10 February 2005
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote jackbros Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2005 at 7:52am

IS this how web wiz forums was produced?

What is the need for Response write when you can just as well use straight text
 
ie
If a="" then %> Hello
If a="" then write "Hello"
 
This way one can design as they go?
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2005 at 10:00am
Originally I did design the forum in Dreamweaver, but over the years so much ASP code has been added that almost every line is now ASP.

For the last few years all the code I have written for this forum has had to be done in a text editor with no WYSIWYG page display for editing.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2005 at 10:09am
really this is the best way, and you get to learn the code even more.

and in the long term it saves when adding the asp if statements which can couse display problems and interm you have to write in code anyway.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2005 at 10:15am
HTML is not a programming language. It is a language that tells you how to display content. A web browser only deals with how content is dsplayed.
Visual editors only deal with how content is displayed, not with the variables behind it's creation.
 
asp is a programming language that allows you to conditionally create both the content, and how it's to be displayed. It also allows you to interact with other server-side resources programmatically to enable functions for your web-app - e.g. uploads, mail, analyse user or request info, create security, etc.
 
What your doing is building a web application, not web pages.
Web applications are typically broken up into client (browser) and server code.
 
When you request an asp page from a server, it runs the code and returns html. Your browser then loads the html and ececutes any client-side code (usually javascript) that enables things like menu animation, and displays it.
 
A visual environment cannot represent the logic in either the server side code or the client side code. It can only represent how content is to be displayed.
 
Perhaps a better example of server-side code would be a page where you ask a client to enter a group of code and corresponding information fields. The asp for processing that code could be doing something on the server like...
If code = A, display information
If code = B, email information
If code = C, update data base with information
If code = blank and information not = blank, display an error
If code not = blank and information = blank, display a different error
If code = blank and information = blank capture browser header info, email to security, send user to a different page.
If code not = blank process next set of fields else end further processing.
 
You have a lot of options for each pair of fields and you could have hundreds of field pairs on the page. Can't think of how you could deal with that in a visual editor.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.