ASP / HTML Integration

Results 1 to 2 of 2

Thread: ASP / HTML Integration

  1. #1 Guest

    Default ASP / HTML Integration

    My specialties are Database/VB/VBA programming, but I have more recently taken the plunge into the Web/Database integration, to extend my skills. <BR><BR>I am not an HTML wizard or Graphic Designer or DTP expert! I like to stick to what I know and am good at. The problem I face frequenlty is that I must take fancy HTML pages and add ASP and DB functionality. I complete my programming and it all works fine based on the original HTML page. Then my client decides that he wants to revamp his html. If he edits the file, say with DreamWeaver, and he re-arranges or replaces design elements, in the process he may inadvertently move or delete part of my programme logic, because he can&#039t see or understand my code. Although I think that the problem could be decreased via frames, this has been ruled out for various reasons.<BR><BR>Not being a DTP expert, I am a bit limited in how much I can redesign the look of the page. Therefore it is necessary to separate the job skills for the project.<BR><BR>I was just wondering how others cope with these issues. Any suggestion would be appreciated on how designers and programmers can work together without clobbering each others work. Incidentally, I use Visual Interdev and basically I prefer to hand edit the HTML.<BR><BR>To solve the problem I have decided that I can chop his pages into 2 part, the head and foot, as he lays his page out with table within table within table. He usually has an inner table with just one row and one column, height and width etc speciifed. The content basically is laid out within this a &#060;td&#062;&#060;/td&#062; set. So I split the file at this point, and use an #INCLUDE at the top an bottom of my asp file. I then program my part into table which is sized to 100% of his inner table. I can use various if-then-else, do-while-loop, select-case statements to fill out the dynamic content. <BR><BR>This is the best solution I have come up with and it seems to work but I think it can be done better.

  2. #2
    Join Date
    Dec 1969

    Default RE: ASP / HTML Integration

    i agree. it can be a nightmare if a designer ever gets his fingers anywhere near your code.<BR>and dreamweaver is the ultimate destroyer.<BR>I try to avoid coding before the design specs are signed off.<BR><BR>But i&#039ve found it useful to place all the page logic in include files, and call sub / functions to populate the page.<BR><BR>For example..<BR><BR>&#060;table&#062;<BR>&#060;tr&#06 2;<BR>&#060;td&#062;images / text <BR>&#060;/td&#062;<BR>&#060;/tr&#062;<BR>&#060;%= customerList() %&#062;<BR>&#060;/table&#062;<BR><BR>where customer writes html to the page.<BR>this way, if someone meeses things up, i only have to redo one response.write...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts