Amazon Write A Product Review

Amazon Write A Product Review
Within the product description area of or OsCommerce Bookstore website, we need the lower section of the product_info.php page to be our “Customer Review” for our products.

The Section should should start with the text “Customer Reviews”
The following line is the date that the review was created.
The next line is the reviewer’s registered name on the site.
and next to it would be the text, “See all my reviews” which will take the visitor to see a list of all the reviews posted by that person.
The following area is then the review.

Firefox Bookmarks

Firefox Bookmarks
I am looking for someone to help me do some coding in php/perl, mysql and web interface. The project is about reading bookmarks from a web browser (Firefox) and getting such information as title, url and frecency from the bookmarks. Based on these URLs (bookmarks) the program crawls to these sites and reads the contents of each site and saves it as text document ( X/HTML tags are removed) in MySQL database. From these saved documents, unique word frequencies are conducted and saved in the database as inverse tables. I would then want the program to compare these documents based on frequencies of the words in each document(URL) and possibly words from the title tags and see if any relationship (literal, syntatic, semantic) can be drawn. The result of the program could be depicted in a graph inside a X/HTML illustrating bookmarks that have similar or near similar content.

Partner Wanted-marketer

Partner Wanted-marketer
Hi there,

I’m looking for a very trusting partner.

I’m currently opening my Advertising & Marketing business in the downtown area where I live and im looking for a partner that will help me grow my new business.

Partner must have products that are different to market in the USA for sale on our estore. Partner must be willing to help with market ideas, live chat meeting, create projects, find ways to out-beat my competitors. Find ways from both to profit. This base on ideas, and
working together to help one another.

Winner will become a partner in our business. www.wppink.com.

Here is what you will benefit from us-

1. Will receive a personalized email with our USA business
address yourname-wppink.com To communicate
with our USA costumers with the orders.

3. Will help with our ecommerence orders

MUST be willing to work with Microsoft office enterprise infopath, communicater,
groove If you do not have software I can provide you with
it at no expense.

Please send me your work expereince. Please note, the winner must be available at all times.

I look forward to finding my future
partner for WPPI. :o)

Our Business Grand-Opening date May- Or June 2010.
Our website still remodeling to offer more services and
enhance its look and what it has to offer.

Please place how much you would like to profit. This is base on what you have to offer. We can workout on a profit on both sides.

-WPPI

www.wppink.com

Hi there,

I’m looking for a very good graphic designer for our Adverising & Marketing USA business.

I’m currently opening my Advertising & Marketing business in the downtown area where I live and would like to be able to offer customize designs.
Logo, Logo enhancement, Banner, Signs & graphic for print out, catalog, brochures, business card. Must be able to create basic websites in a our sitebuilder and also advance website with dreamweaver.

Looking for a winner who can enhance our business logo and become part of our business. www.wppink.com.

Winner Chosen, will become
a part of our growing business.

Here is what you will benefit from us-

1. You will be able to upload your designs
on our website and be known as our employee

2. Will receive a personalized email with our USA business
address yourname-wppink.com To communicate
with our USA costumers with the project assigned.

3. Will help with our ecommerence orders

4. will design most of all of costumers needs.

5. Deliver project by email to client
show proofs until satisfied.

6 Help with web updates

7. Would be willing to work with Microsoft office enterprise infopath, communicater,
groove If you do not have software I can provide you with
it at no expense.

8. Share Ideas & new ways to market

Please send me your work. Please note, the winner must be available at all times.

I look forward to finding my graphic designer
partner. :o)

Our Business Grand-Opening date May- Or June 2010.
Our website still remodeling to offer more services and
enhance its look and what it has to offer.

Please place how much you would charge for this work.
We are growing business we cannot pay much at this time,
but can provide work. $10-50 per project budget limit for each task is our budget. On web design $$75-100.

Submit your pricing.

-WPPI

www.wppink.com

Similar Websites Clone

Similar Websites Clone
Looking for a clone of http://www.siteslike.com/
– basically a site that can do exactly what this can.
– must find, tag, rate sites based on quality and relevance
– must allow searching of any site.
– must display all information seen on http://www.siteslike.com/similar/blogger.com
– must save the searched for websites both in cloud form http://www.siteslike.com/browse and alphabetical form http://www.siteslike.com/browse/0
– must match sites which are similar to one another as can be seen http://www.siteslike.com/similar/blogger.com
– must allow surfers to agree/disagree on sites that are similar and even mark some as irrelavant
– must allow user accounts
– must allow any user to add a similar website with a captcha confimation
– must have an option to flag sites as adult content and display 18+ warning and to disable them from being in the popular list
– must have a template system allowing for site url/title to be displayed anywhere on the page

http://www.similarsites.com/ is another exacmple of such a project.

Add Features 2 Joomla Compone

Add Features 2 Joomla Compone
hello
i am interesting with some template /component which is component of Joomla.
this small template have a listing.
but i want to add to this component,the option to users to :
1. a video features that any user can upload a video.(its show in some places)-this can be from youtube or else.
2. gallery to each user
3. check and to test the template that there is no bugs.
4.add more options to pay for “post listing”,that users need to pay for post a list.
thank you

Joomla Upgrade To 1.5

Joomla Upgrade To 1.5
We have a Joomla Powered site that needs to be upgraded from 1.0X to the latest version 1.5+. We have been online line for 6 years and our site is quite active. We are looking for a Joomla Expert who has done a successful migration before.

We will read your reviews and positive Joomla comments is a plus. If you can also do Template work let us know. Since that will be the next step

Mmorpg Oscommerce Template

Mmorpg Oscommerce Template
Hi, we are looking for someone to create us an mmorpg themed oscommerce template.. The template should be of high quality and well put together not just some horrible rubbish that is a that will do template. We would like this to be completely custom not something that is premade and would like ownership rights to it once it is finished.

Joomla – Mail Issue

Joomla – Mail Issue
We have a Joomla CMS installation. When you click on the email icon in Joomla articles, the pop-up mail window shows up like this. See attachment. Want two things (1) alignment fixed to show left aligned window contents and (2) have captcha feature or some junk mail filter.

Needless to say you will get access to Joomla Backend. Only email us “related” work you have sent us, not all the URLs in the past.

Php Form Security

Php Form Security
1) I have a small PHP script that accepts submissions to a database- I need to have the information submitted validated and sanitized before it goes into the database.

2) I also need some troubleshooting done on a simple php page that runs a query which pulls back listings that are expiring and sends an email. It used to work, and now it doesn’t.

I would like to find someone who can take care of both issues.

Please PMB me with any questions.

Graphic Inserted And Email

Graphic Inserted And Email
I need a graphic inserted to website and
i need the email form code changed from one code to another.

The the look of the form itself must not be changed.

I have the graphic and the new code for the form.

The graphic is an arrow and it needs to be aligned with my 2nd headline and it should be on the right instead of the left like the following example. http://www.buildaprofitablebusinessonline DOT com/index2.html

I will send you the html for the page as well as the new code for the email form.

Learning Server-Side JavaScript with Node.js

Learning Server-Side JavaScript with Node.js

Node.js is all the buzz at the moment, and makes creating high performance, real-time web applications easy. It allows JavaScript to be used end to end, both on the server and on the client. This tutorial will walk you through the installation of Node and your first “Hello World” program, to building a scalable streaming Twitter server.

What is Node.js?

JavaScript has traditionally only run in the web browser, but recently there has been considerable interest in bringing it to the server side as well, thanks to the CommonJS project. Other server-side JavaScript environments include Jaxer and Narwhal. However, Node.js is a bit different from these solutions, because it is event-based rather than thread based. Web servers like Apache that are used to serve PHP and other CGI scripts are thread based because they spawn a system thread for every incoming request. While this is fine for many applications, the thread based model does not scale well with many long-lived connections like you would need in order to serve real-time applications like Friendfeed or Google Wave.

“Every I/O operation in Node.js is asynchronous…”

Node.js, uses an event loop instead of threads, and is able to scale to millions of concurrent connections. It takes advantage of the fact that servers spend most of their time waiting for I/O operations, like reading a file from a hard drive, accessing an external web service or waiting for a file to finish being uploaded, because these operations are much slower than in memory operations. Every I/O operation in Node.js is asynchronous, meaning that the server can continue to process incoming requests while the I/O operation is taking place. JavaScript is extremely well suited to event-based programming because it has anonymous functions and closures which make defining inline callbacks a cinch, and JavaScript developers already know how to program in this way. This event-based model makes Node.js very fast, and makes scaling real-time applications very easy.


Step 1 Installation

Node.js runs on Unix based systems, such as Mac OS X, Linux, and FreeBSD. Unfortunately, Windows is not yet supported, so if you are a Windows user, you can install it on Ubuntu Linux using Virtualbox. To do so, follow this tutorial. You will need to use the terminal to install and run Node.js.

  1. Download the latest release of Node.js from nodejs.org (the latest version at the time of this writing is 0.1.31) and unzip it.
  2. Open the terminal, and run the following commands.
    cd /path/to/nodejs
    make
    sudo make install
    		

    A lot of messages will be outputted to the terminal as Node.js is compiled and installed.


Step 2 Hello World!

Every new technology starts with a “Hello World!” tutorial, so we will create a simple HTTP server that serves up that message. First, however, you have to understand the Node.js module system. In Node, functionality is encapsulated in modules which must be loaded in order to be used. There are many modules listed in the Node.js documentation. You load these modules by using the require function like so:

var sys = require("sys");

This loads the sys module, which contains functions for dealing with system level tasks like printing output to the terminal. To use a function in a module, you call it on the variable that you stored the module in, in our case sys.

sys.puts("Hello World!");

Running these two lines is as simple as running the node command with the filename of the javascript file as an argument.

node test.js

This will output “Hello World!” to the command line when run.

To create an HTTP server, you must require the http module.

var sys = require("sys"),
    http = require("http");

http.createServer(function(request, response) {
    response.sendHeader(200, {"Content-Type": "text/html"});
    response.write("Hello World!");
    response.close();
}).listen(8080);

sys.puts("Server running at http://localhost:8080/");

This script imports the sys and http modules, and creates an HTTP server. The anonymous function that is passed into http.createServer will be called whenever a request comes in to the server. Once the server is created, it is told to listen on port 8080. When a request to the server comes in, we first send HTTP headers with the content type and status code of 200 (successful). Then we send “Hello World!” and close the connection. You might notice that we have to explicitly close the connection. This will make it very easy to stream data to the client without closing the connection. If you run this script and go to http://localhost:8080/ in your browser, you will see “Hello World!”


Step 3 A Simple Static File Server

OK, so we have built an HTTP server, but it doesn’t send anything except for “Hello World,” no matter what URL you go to. Any HTTP server must be able to send static files such as HTML files, images and other files. The following code does just that:

var sys = require("sys"),
    http = require("http"),
    url = require("url"),
    path = require("path"),
    fs = require("fs");

http.createServer(function(request, response) {
    var uri = url.parse(request.url).pathname;
    var filename = path.join(process.cwd(), uri);
    path.exists(filename, function(exists) {
    	if(!exists) {
    		response.sendHeader(404, {"Content-Type": "text/plain"});
    		response.write("404 Not Found\n");
    		response.close();
    		return;
    	}

    	fs.readFile(filename, "binary", function(err, file) {
    		if(err) {
    			response.sendHeader(500, {"Content-Type": "text/plain"});
    			response.write(err + "\n");
    			response.close();
    			return;
    		}

    		response.sendHeader(200);
    		response.write(file, "binary");
    		response.close();
    	});
    });
}).listen(8080);

sys.puts("Server running at http://localhost:8080/");

We start by requiring all of the modules that we will need in our code. This includes the sys, http, url, path, and fs or filesystem modules. Next we create an HTTP server like we did before. This time, we will use the url module to parse the incoming URL of the request and find the pathname of the file being accessed. We find the actual filename on the server’s hard drive by using path.join, which joins process.cwd(), or the current working directory, with the path to the file being requested. Next, we check if the file exists, which is an asynchronous operation and thus requires a callback. If the file does not exist, a 404 Not Found message is sent to the user and the function returns. Otherwise, we read the file using the fs module using the “binary” encoding, and send the file to the user. If there is an error reading the file, we present the error message to the user, and close the connection. Because all of this is asynchronous, the server is able to serve other requests while reading the file from the disk no matter how large it is.

If you run this example, and navigate to http://localhost:8080/path/to/file, that file will be shown in your browser.


Step 4 A Real Time Tweet Streamer

Building on our static file server, we will build a server in Node.js that streams tweets to a client that is served through our static file server. To start, we will need one extra module in this example: the events module. Node has a concept called an EventEmitter, which is used all over to handle event listeners for asynchronous tasks. Much like in jQuery or another client side JavaScript framework where you bind event listeners to things like mouse clicks, and AJAX requests, Node allows you to bind event listeners to many things, some of which we have already used. These include every I/O operation, such as reading a file, writing a file, checking if a file exists, waiting for HTTP requests, etc. The EventEmitter abstracts the logic of binding, unbinding, and triggering such event listeners. We will be using an EventEmitter to notify listeners when new tweets are loaded. The first few lines of our tweet streamer imports all of the required modules, and defines a function for handling static files, which was taken from our previous example.

var sys = require("sys"),
    http = require("http"),
    url = require("url"),
    path = require("path"),
    fs = require("fs"),
    events = require("events");

function load_static_file(uri, response) {
	var filename = path.join(process.cwd(), uri);
	path.exists(filename, function(exists) {
		if(!exists) {
			response.sendHeader(404, {"Content-Type": "text/plain"});
			response.write("404 Not Found\n");
			response.close();
			return;
		}

		fs.readFile(filename, "binary", function(err, file) {
			if(err) {
				response.sendHeader(500, {"Content-Type": "text/plain"});
				response.write(err + "\n");
				response.close();
				return;
			}

			response.sendHeader(200);
			response.write(file, "binary");
			response.close();
		});
	});
}

We have used the http module to create a server before, but it is also possible to create an HTTP client using the module. We will be creating an HTTP client to load tweets from Twitter’s public timeline, which is performed by the get_tweets function.

var twitter_client = http.createClient(80, "api.twitter.com");

var tweet_emitter = new events.EventEmitter();

function get_tweets() {
	var request = twitter_client.request("GET", "/1/statuses/public_timeline.json", {"host": "api.twitter.com"});

	request.addListener("response", function(response) {
		var body = "";
		response.addListener("data", function(data) {
			body += data;
		});

		response.addListener("end", function() {
			var tweets = JSON.parse(body);
			if(tweets.length > 0) {
				tweet_emitter.emit("tweets", tweets);
			}
		});
	});

	request.close();
}

setInterval(get_tweets, 5000);

First, we create an HTTP client on port 80 to api.twitter.com, and create a new EventEmitter. The get_tweets function creates an HTTP “GET” request to Twitter’s public timeline, and adds an event listener that will be triggered when Twitter’s servers respond. Because Node.js is asynchronous, the data in the body of the response comes in chunks, which are picked up by the response’s “data” listener. This listener simply appends the chunk to the body variable. Once all of the chunks have come in, the “end” listener is triggered, and we parse the incoming JSON data. If more than one tweet is returned, we emit the “tweets” event on our tweet_emitter, and pass in the array of new tweets. This will trigger all of the event listeners listening for the “tweets” event, and send the new tweets to each client. We retreive the new tweets every five seconds, by using setInterval.

Finally, we need to create the HTTP server to handle requests.

http.createServer(function(request, response) {
    var uri = url.parse(request.url).pathname;
    if(uri === "/stream") {

    	var listener = tweet_emitter.addListener("tweets", function(tweets) {
    		response.sendHeader(200, { "Content-Type" : "text/plain" });
    		response.write(JSON.stringify(tweets));
    		response.close();

    		clearTimeout(timeout);
    	});

    	var timeout = setTimeout(function() {
    		response.sendHeader(200, { "Content-Type" : "text/plain" });
    		response.write(JSON.stringify([]));
    		response.close();

    		tweet_emitter.removeListener(listener);
    	}, 10000);

    }
    else {
    	load_static_file(uri, response);
    }
}).listen(8080);

sys.puts("Server running at http://localhost:8080/");

Just as we did with our static file server, we create an HTTP server that listens on port 8080. We parse the requested URL, and if the URL is equal to "/stream", we will handle it, otherwise we pass the request off to our static file server. Streaming consists of creating a listener to listen for new tweets on our tweet_emitter, which will be triggered by our get_tweets function. We also create a timer to kill requests tht last over 10 seconds by sending them an empty array. When new tweets come in, we send the tweets as JSON data, and clear the timer. You will see how this works better after seeing the client side code, which is below. Save it as test.html in the same directory as the server side JavaScript.

<!DOCTYPE html>
<html>
	<head>
		<title>Tweet Streamer</title>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
	</head>
	<body>
		<ul id="tweets"></ul>
		<script type="text/javascript">
		var tweet_list = $("#tweets");

		function load_tweets() {
			$.getJSON("/stream", function(tweets) {
				$.each(tweets, function() {
					$("<li>").html(this.text).prependTo(tweet_list);
				});
				load_tweets();
			});
		}

		setTimeout(load_tweets, 1000);
		</script>
	</body>
</html>

Here, we have a simple HTML page that imports the jQuery library and defines an unordered list to put the tweets in. Our client side JavaScript caches the tweet list, and runs the load_tweets function after one second. This gives the browser enough time to finish loading the page before we start the AJAX request to the server. The load_tweets function is very simple: It uses jQuery’s getJSON function to load /stream. When a response comes in, we loop through all of the tweets and prepend them to the tweet list. Then, we call load_tweets again. This effectively creates a loop that loads new tweets, which times out after ten seconds because of the timeout on the server. Whenever there are new tweets, they are pushed to the client which maintains a continuous connection to the server. This technique is called long-polling.

If you run the server using node and go to http://localhost:8080/test.html, you will see the Twitter public timeline stream into your browser.


Next Steps

Node.js is a very exciting technology that makes it easy to create high performance real time applications. I hope you can see its benefit, and can use it in some of your own applications. Because of Node’s great module system, it is easy to use prewritten code in your application, and there are many third party modules available for just about everything – including database connection layers, templating engines, mail clients, and even entire frameworks connecting all of these things together. You can see a complete list of modules on the Node.js wiki, and more Node tutorials can be found on How To Node. I would also recommend that you watch a video from JSConf, in which Ryan Dahl, the creator of Node, describes the design philosophy behind Node. That is available here.

I hope you have enjoyed this tutorial. If you have any comments, you can leave one here or send me a message on Twitter. Happy noding!