Showing posts with label Web designing. Show all posts
Showing posts with label Web designing. Show all posts

Saturday, May 27, 2017

Accessing Wamp from computers on lLAN

Accessing Wamp from computers on lLAN
       

 Accessing Wamp from computers on LAN is very difficult but today i will address to it, with great felling and told you about how do we  Accessing Wamp from computers on LAN.Below are instructions for configuring a static IP on a Windows 7 machine. Right click the network icon in the system tray and choose Open Network and Sharing Center. Double click the network connection that you are using to connect to your local network. Select the TCP/IPv4 connection and click the Properties button.

Configure Static IPs on LAN Computers

How you configure static IPs varies widely depending on your network setup. As a best practices. you will want to setup the static IP configuration on whatever device manages DHCP for the network — a router or server.
Most routers allow you to bind static IPs to MAC addresses. This is the approach I take. If you have a server managing DHCP, things can be more complicated.
Configuring static IPs for your networks computers\devices at the DHCP management layer is best. However, you can configure them at the local level provided you have proper access to each computer’s network configuration. Be aware that configuring static IPs on local machines make them prone to IP address conflicts in the future. Since the local machine is not the authority for allocating IPs on the network, its static IP address may be issued to another machine.

Regardless of the method used to setup static IPs, make sure to document each computer’s IP address. You will need them in a future step. Below are instructions for configuring a static IP on a Windows 7 machine.

1. Right click the network icon in the system tray and choose Open Network and Sharing Center. 

2. Double click the network connection that you are using to connect to your local network.

3. Click the Properties button on the popup.

4. Select the TCP/IPv4 connection and click the Properties button.

5. Open a new command prompt by clicking the start orb and typing cmd then hitting enter.

6. In the new command prompt window type the command ipconfig and hit enter.

7. Copy over the following values to the TCP/IPv4 configuration popup:

o IPv4 Address

o Subnet Mask

o Default Gatway

Assuming that you previously obtained an IP address automatically via DHCP, copying the values assigned to your machine is the best way to avoid problems initially. Essentially, you are telling your computer that whatever credentials your DCHP manager has assigned to your machine should remain.

Regarding your Preferred and Alternate DNS server, I use the name servers provided by OpenDNS. You can use whatever valid name servers you want.
Once you have supplied credentials to your network configuration, you can click the OK button and close all windows.

Configure Apache to Allow Connections….

If you do not have virtual hosts setup I recommend that you create a virtual host {vhost} in WAMP for each site you work on. Doing this allows you to easily configure access to sites on a vhost basis, as opposed to globally defining access for all sites. As you will see in the next step, virtual hosts also make the hosts file on remote machines cleaner, clearer and simpler.]

Update The Hosts File on LAN Computers
The hosts file is the first reference in the DNS lookup process. Before your computer goes out the the Web to fetch DNS information, it will look at the hosts file. That is why you must add entries in the hosts file on each computer that you want to point to your local WAMP site(s). this was answer about how we will Accessing Wamp from computers on lan



Tuesday, May 23, 2017

Basics of a WordPress theme development

According to the WordPress codex a WordPress theme is: 
"A collection of files that work together to produce a graphical interface with an underlying unifying design for a weblog" 
the Basics of a WordPress theme development Themes are comprised of a collection of template files and web collateral such as images, CSS stylesheets, and JavaScript. 
In Basics of a WordPress theme development The next diagram illustrates how the WordPress theme works with the WordPress system: core installation, theme files, plugin files, and MySQL database, to serve up a complete HTML page to the browser:

We'll go over the specifics and code examples of each part of a WordPress theme in detail in Chapter 3, Coding it Up, but here are the basics to get you started

The template hierarchy

The most important part of a WordPress theme to start realizing now is the template hierarchy. A WordPress theme is comprised of many file types including template pages. Template pages have a structure or hierarchy to them. That means, if one template file is not present, then the WordPress system will call up the next level template file. This allows developers to create themes that are fantastically detailed, which take full advantage of all of the hierarchy's available template files, and yet make the setup unbelievably simple. It's also possible to have a fully functioning WordPress theme that consists of no more than an index.php file and a stylesheet. 

Tips:

You can see the template hierarchy in detail at http://codex. wordpress.org/Template_Hierarchy.

The Loop

Within most template pages in the hierarchy (not necessarily all of them), we'll be adding a piece of code called "the Loop". The Loop is an essential part of your WordPress theme. It displays your posts in chronological order and lets you define custom display properties with various WordPress template tags wrapped in HTML markup.

Template tags and API hooks:

Looking within a template page's "Loop", you'll find some interesting bits of code wrapped in PHP tags. The code isn't pure PHP, most of them are WordPress-specific tags and functions such as template tags, which only work within a WordPress system. Most tags and functions can have various parameters passed through them.
Not all WordPress tags and functions go inside the Loop. If you were to poke around the header.php file included in the default Twenty Ten theme, you'll find several tags that work outside the Loop. Specifically in the header.php template page (as well as the footer.php and sidebar.php template pages), you'll also find several WordPress-specific functions that are part of the Plugin API and Script API.
Again, no need to worry about the specifics of these now. We'll be covering all these terms in detail with examples and, Coding it Up.





Our development strategies

The approach of this book is going to take you through the unique and beautiful route (or unique and awesome, whatever your design aesthetics call for) with the idea that once you know how to create a theme from scratch, you'll be better at understanding what to look for in other WordPress themes, premium themes, and frameworks. You'll then be able to assess when it really is better or easier to use an already built theme versus building up something of your own from scratch.

Fonts and typefaces

The Cufon JavaScript technique, but for now, let's get some basic typography under our belts.

When envisioning the theme's typography, think about the type of information the site will (or might) hold, and what's expected along with what's in vogue right now. Try to think in terms of headers, secondary fonts, block-quotes, specialty text (for code), and paragraph page text.

You can use any fonts you want as long as you think there's a really good chance that others will have the same font on their computers. Here is a list of the basic fonts that work well on the screen:

..Fonts designed for viewing on screen:

  • ·         ..Georgia (serif)
  • ·         ..Verdana (sans serif)

..Fonts available on most Macs and/or PCs:

  • ·         ..Arial
  • ·         ..Helvetica
  • ·         ..Times New Roman
F    ..Fonts commonly used for code:

  • ·         ..Monaco
    ·         ..Consolas
     


Popular Posts

Contact Form

Name

Email *

Message *