WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-11-2007, 01:21 PM
melchapman's Avatar
WebProWorld Member
 

Join Date: Dec 2006
Location: Houston, TX
Posts: 53
melchapman RepRank 0
Default Can you embed a PHP, ASP Microsite with an HTML Site?

I am not familiar with developing sites from scratch. All of my business is designing and marketing template based sites.

I have been approached by my husbands boss asking me to design a new site so that they can embed a microsite that requires the support of either php, asp or Coldfusion.

Can you tell me exactly what that means?

Also... can this type of embedding be done with an html driven site?

Would the site have to be designed in a particular program that supports html and the other formats?

Like I said... all of this is really foreign to me. I am trying to come up with some type of solution for them and determine whether or not I am capable of helping them.

Thanks in advance,
Mel
Reply With Quote
  #2 (permalink)  
Old 04-11-2007, 07:05 PM
DaveSawers's Avatar
WebProWorld Veteran
 

Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 354
DaveSawers RepRank 1
Default

All that PHP, etc. does is write HTML on the server that then gets passed down to the users browser on the client computer.

The code is embedded in the regular page HTML in those positions where some programming is needed. All the HTML can be generated by the code or just one number or word.

Therefore, nothing different in the design is required for a site that uses PHP, etc.

For embedding purposes, simply design your site as normal, leaving a space for the HTML that will be generated by the embedded program. This space might be in a <div> or a <td> or whatever is appropriate.
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #3 (permalink)  
Old 04-11-2007, 11:27 PM
melchapman's Avatar
WebProWorld Member
 

Join Date: Dec 2006
Location: Houston, TX
Posts: 53
melchapman RepRank 0
Default

Wow... thanks Dave.

I just want to make sure that I understand this correctly.

A typical HTML written site has the capability of running a "mini-site" that is programmed with PHP, etc.

Here is the information that I have.

ShoreTel Microsite

ShoreTel offers a "micro" version of ShoreTel.com that you can embed into your existing website.

Always Up to Date:
The Microsite content will be maintained by ShoreTel and automatically updated on your website, so your site will always be up to date.

Automatic Lead Referral:
Any qualified lead that results from a click to shoretel.com from your website will be routed back to you whether they register immediately, the next day, or even a year later.

Two Microsite Flavors:
Choose between a full description of IP Telephony plus Whitepapers; or a ShoreTel Products only version for your website.

One time installation:
Installation involves downloading a server-side script (PHP, ASP, or ColdFusion), and customizing it to look like your website.

What do they mean, download the script? Are they generating a unique code for their site that they will place in a file?

Also... how do you know if the site supports this type of program integration?

I am soooooo lost!
Reply With Quote
  #4 (permalink)  
Old 04-12-2007, 10:48 PM
DaveSawers's Avatar
WebProWorld Veteran
 

Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 354
DaveSawers RepRank 1
Default

Quote:
Originally Posted by melchapman
A typical HTML written site has the capability of running a "mini-site" that is programmed with PHP, etc.
Yes it does.

You seem rather in the wilderness here. Perhaps you should search for a basic PHP tutorial to help you grasp the concepts.
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #5 (permalink)  
Old 04-13-2007, 10:42 AM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 4,948
kgun RepRank 3kgun RepRank 3
Default

Yes, the Norwegian site W3 Schools is perhaps a good place to start:

Links:
W3Schools Online Web Tutorials
Reply With Quote
  #6 (permalink)  
Old 04-14-2007, 12:51 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: California,USA
Posts: 373
drummin RepRank 0
Default

Hi
I've never dealt with your situation but I've included page parts into a main page from other files many times. Like a common testimonial that you want to use in many sites. Another example is making your menu in a seperate file, then on each page of your site, just include it. Read on for explaination.

I would download their script and customize the mimi site the way you want it to look on its own. Save as a seperate file. mimisite.htm for example.

Then make your main site layout the way you want and where you would like this "mimi-site" to be, add the following...
<?
include('mimisite.htm');
?>

I would save your main page with php extention as in pagename.php so server is looking for php within file.

Keep dimensions in mind... Width of mimi site will load in the area you have placed it.

These "parts" can also be parts of a table of your main page. For example: Say just the foot area.
<tr>
<td>This is your foot</td>
</tr>
</table>
The above code would be saved as foot.htm

Main page would be

<table>
<tr>
<td>main site</td>
</tr>
<?
include('foot.htm');
?>

When site is put together by server...
<table>
<tr>
<td>main site</td>
</tr>
<tr>
<td>This is your foot</td>
</tr>
</table>

By the way, when making these "parts", like a menu or any section you're going to include, save just the code part in your file without any html, head or body tags because it's going to be placed within your page that already has these.

I'm NOT sure how your application works. IF it has to have these heading tags, you might need to load it into an <iframe></iframe>. I'm sure your application will come with instructions so don't worry.

Hope these "broad-brush" explanations help.
Best to ya,
Drummin
Reply With Quote
  #7 (permalink)  
Old 04-14-2007, 10:48 AM
DaveSawers's Avatar
WebProWorld Veteran
 

Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 354
DaveSawers RepRank 1
Default

Quote:
Originally Posted by kgun
Yes, the Norwegian site W3 Schools is perhaps a good place to start:

Links:
W3Schools Online Web Tutorials
I have to endorse that recommendation. I've found them very useful for all sorts of items. Every beginner to a particular web subject should start there.
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #8 (permalink)  
Old 04-15-2007, 10:30 AM
melchapman's Avatar
WebProWorld Member
 

Join Date: Dec 2006
Location: Houston, TX
Posts: 53
melchapman RepRank 0
Default

Thank you so much! You have definately helped someone that has NO CLUE... but this is great information that I can pass on. You have been great!

Thanks again,
Mel
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , , , ,



Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0