[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Create a dynamic page from content

Posted on 2013-10-30
3
Medium Priority
?
341 Views
Last Modified: 2013-10-30
Hi,

I'm using MVC ASP.NET 4 (C#) for developing a basic blogengine from scratch. I'm doing ok with it. I dont know how to create a dynamic page from content which has come from a database.

I have the following bloc

<div class="blodDet">
            <div class="summary">
                <h2><a class="blogTitle" href="??">Blog Title</a></h2>
                <p class="blogDescription">Full blog description which will be what is displayed in the SERPS description area. </p>
            </div>

        </div>

Open in new window


In above code I have an anchor tag in the blog title. What I am trying to do is create a new page displaying the complete blog. So I need to create a new page that is named after the blog title. So a complete dynamic page for each blog once clicked on. Then destroyed when closed. Any ideas on the necessary approach for this.

Thanks in advance.
0
Comment
Question by:blackstarsystems
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 2000 total points
ID: 39612186
To start with you need the href to go to a page that contains the script to handle the generation of the page.  you will need to pass it some kind of identifier.  I identifier could be the DB key to the content.  

Beyond that, the details of generation and how you do it depends on the DB organization and the templates you want to use.

On my sites I generally generate all pages real time using PHP, but rather then a single script I use template specific scripts for efficiency.

Cd&
0
 

Author Closing Comment

by:blackstarsystems
ID: 39612203
Coolio!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question