D4DME – Net Neutrality

The issue of whether to adopt a mandatory net neutrality policy—i.e., to
subject broadband providers to an open-access requirement that would prohibit
them from discriminating against content providers—is one of the most
important and controversial Internet policy issues before the FCC and the
Congress.

The idea of Net Neutrality is something that the modern internet user probably takes for granted. In short, it is the principle that all internet service providers should make all content accessible to all users of the internet regardless. Although Net Neutrality is something that many may not even know about, the internet would be a very different place without it.

Join the Fast Lane is a brilliant example of what the internet would be like if we no longer had Net Neutrality. We would have to pay for access to specific places and content, as well as ‘faster internet speeds’ in order to actually access them.

References

Lenard, T M. and May, R J., 2006. Net Neutrality or Net Neutering: Should Broadband Internet Services Be Regulated. Springer-Verlag New York Inc.

D4DME – Display Selected Recipe

The final addition that I made to our website was the ability to click on one of the recipe titles and be taken through to a more detailed view of the chosen recipe. To do this, I had to create an id based link to the individual recipe.

<h1>
<a href="selected_recipe.php?recipe_id=<?php echo ($row["recipe_id"]); ?>">
<?php echo ($row["recipe_title"]); ?>
</a>
</h1>

This then linked to the specific recipe page with the corresponding id via this block of code:

<?php
if(isset($_GET["recipe_id"])) {
$recipeID = $_GET["recipe_id"];
} else {
redirectTo("index.php");
}
?>
<br>
<?php 
$result = GetSingleRecipe($recipeID);
while($row = mysqli_fetch_assoc($result)) {
include 'recipe_large.php';
}
?>

As you can see, the include function has changed to include ‘recipe_large.php’ rather than the standard ‘recipe.php’. This file contains more information on the recipe and it much larger in screen size.