Create a free SMS counter.
There are a number of reasons why you would want to have a “send free SMS” corner on your website. First, you can drive people to visit your site. Talk about traffic (and I hope that’s enough reason for you to put up a free SMS corner). Second, you can actually use it and send free SMS to your friends. Third, the free SMS counter adds a “friendly” aura to your site. Farheen Rehman posted in Auroranet how people can add SMS boxes in their websites. He even laid everything in a step by step manner, starting with the definitions that most people who don’t have gateway and php scripting skills cannot understand.
Photo taken from http://auroranet.fre3.com
How to create news feeds. (part III)
You are actually halfway through by the time you’re reading this post. If you have religiously done the previous instructions correctly, expect that you will soon have a news feed of your own. Your index.php page serves as your window, so basically, it is just like an interface. What you need to make is an HTML page full of tables (but not too many) so as just to separate the news from each other. And then you have to make use of this coding to shorten and convert lines into a string:
$list = getNewsList();
foreach ($list as $value) {
$newsData = file(“news/”.$value);
$newsTitle = $newsData[0];
$submitDate = $newsData[1];
unset ($newsData['0']);
unset ($newsData['1']);
$newsContent = “”;
foreach ($newsData as $value) {
$newsContent .= $value;
}
echo “$newsTitle
$submitDate”;
echo “”.$newsContent.
”
________________________________________
“;
}
?>
Photo taken from http://geology.com
How to create news feeds. (part II)
With the codes posted on the first part of the news feeds tutorial, assuming that the codes were posted to the correct forms, you should now have a storage file system where you can dump all the articles you have and you are now able to post it. But of course, what is the sense of a news display if people can’t see it? So there should be a page where your news can be flashed and displayed. To do this, the index.php page you have created will come into use. You have to use the “opendir” and “readdir” commands so that your news files will be arranged in a chronological order. You then have to put these codes:
function getNewsList(){
$fileList = array();
// Open the actual directory
if ($handle = opendir(“news”)) {
// Read all file from the actual directory
while ($file = readdir($handle)) {
if (!is_dir($file)) {
$fileList[] = $file;
}
}
}
rsort($fileList);
return $fileList;
}
?>
Photo taken from http://news.dmusic.com
How to create news feeds. (part I)
If you wish to create a news feed system using php, it is actually easier than you thought. The basic news system comprises of a php editor (for easier editing), an index.php page (where your news will be displayed) and an admin.php page (where you will post the news). You must create first a page using html so that you can make forms embedded into a page. Then you must insert this coding in the head area of the admin page:
Insert name of php editor here.init({ mode : “textareas”, theme : “advanced”,
theme_advanced_buttons3 : “”, theme_advanced_toolbar_location : “top”,
theme_advanced_toolbar_align : “left”,});
All you have to do to make sure that your coding works is to add in the processing field these codes:
$newsTitel = isset($_POST['title']) ? $_POST['title'] : ‘Untitled’;
$submitDate = date(‘Y-m-d g:i:s A’);
$newsContent = isset($_POST['newstext']) ? $_POST['newstext'] : ‘No content’;
$filename = date(‘YmdHis’);
$f = fopen(‘news/’.$filename.”.txt”,”w+”);
fwrite($f,$newsTitel.”\n”);
fwrite($f,$submitDate.”\n”);
fwrite($f,$newsContent.”\n”);
fclose($f);
header(‘Location:index.php’);
?>
Photo taken from http://blog2.protopage.com
What’s up with Mashup?
![]()
Mashup, in technological context, refers to a web application that makes use of a combination or mixture of data from two or more sources. This combination is then put together into one single device. A good example for this is the integration of cartographic data from Google Maps to real-estate facts, thus producing a different and fresh web service which is otherwise not provided by either or both sources. Consequently, the end-product of mashup is data or code that can be applied for software purposes.
Interestingly, mashup originated from a certain application in pop music, especially hip-hop in which a special song is created by combining two or more other songs.
Efficient use of output buffer in PHP
![]()
Output Buffer is a process by which HTML or Javascript code or echo or print is produced in PHP with the information being sent to the browser and consequently to the web as an outcome. This is done by having the information stocked up on the server until the script is done executing, or by you doing something on the buffer itself.
To carry out this process, you should start the output buffer first. This should be done before anything else is fed to the browser. It is very important that you start it right after opening the PHP tag. You have to be very precise and sure that no prior action is done before the PHP tag is opened because even a lull or space can result to mistakes.
Quick glance at PHP
![]()
For those of you browsing on this page and are not so knowledgeable about computer programming and whatnots, here is a bird’s eye view on PHP.
PHP stands for Hypertext Preprocessor. It is a computer scripting language basically intended to generate dynamic web pages. It can be derived from a command line interface or in independent graphical applications though focally, it is applied in server-side scripting.
The person behind the making of PHP is Rasmus Lerdorf. He designed this program in 1995. However it is now The PHP Group that acts as the de facto standard for PHP and is considered as a free software by the Free Software Foundation.
PHP, embeddable into HTML, has major use for all purposes in scripting language for web development. Operating on a web server, PHP code acts as the input and building web pages is the output. As a free software, it can be utilized in web servers on approximately all operating systems and platforms.
XP follows own programming patterns
![]()
To ensure that all programs will run well, XP takes the following guides of programming organization: spike solutions, stand-up meetings, refactoring and testing.
The aspects of programming earlier mentioned can be used again in many other projects, and businesses. Though use of pure XP is not commonly done, they are nonetheless used by XP. Point solutions may not be most ideal but nevertheless give a competent choice. Paring the code base down then making full use of more meaningful and updated codes does work. The key here is getting rid of things that don’t work and even those that do work, and utilizing those which are more significant and usable.
How XP benefits the customer
![]()
XP or Extreme Programming is a software that includes the main aspects of software development such as specification, design, development and testing. It also addresses communication and planning as well as code management.
To put it straight, XP deals with the whole progress phase from the first stage through the testing, release and further development. This application is suited for projects that require speed or those which are bound to change during the duration of the project. With this, the client is benefited because he is likely to get more input. XP likewise promotes a dynamic association between everyone involved in the conceptualization of the whole process.
Adobe Flex Builder 3
Flash began life as a way for web designers to add simple vector animations to their web pages. Interactivity and programmability and become the one must-have browser plug-in. In the process, and almost unnoticed, Flash has turned itself into an online computing platform with Flash content viewable by almost all internet users.
Now Adobe is determined to fully capitalise on this platform by unleashing Flash’s ability to create full-blown, self-contained Rich Internet Applications (RIAs) – and to take the same power to the desktop. To unlock Flash’s full potential as a computing platform, however, Adobe needed to rebuild its technology and applications to appeal not to the designer but to the developer. What it came up with was Flex.




