Touch screen

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
deshmukh999
Forum Commoner
Posts: 32
Joined: Mon Mar 15, 2010 2:01 am

Touch screen

Post by deshmukh999 »

Hi,I just stumbled across this forum.

I want to make a touch screen software (website) using PHP.

Where user could request to process from screen only, there is no request from keybord or mouse (just like ATM machine.)

Is there any way to do it in PHP.


Thanking you
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: Touch screen

Post by JakeJ »

A touch screen does whatever a mouse would do like scrolling, clicking, right clicking etc. In fact, a touchscreen is a just a large mouse. So whatever is click-able with a mouse can be done with php and appropriately sized buttons, etc. Input is input.
deshmukh999
Forum Commoner
Posts: 32
Joined: Mon Mar 15, 2010 2:01 am

Re: Touch screen

Post by deshmukh999 »

But How to do it..
Please give me ideas to do it using php
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Touch screen

Post by requinix »

For all intents and purposes a touchscreen is a mouse. You don't have to do anything differently.
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: Touch screen

Post by JakeJ »

tasairis wrote:For all intents and purposes a touchscreen is a mouse. You don't have to do anything differently.
The point being that whatever you would program in php that would require a mouse click, you would do the same for a touch screen.

If you don't know how to make buttons in php, well, that's a whole different story and there's a slew of tutorials out there.
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: Touch screen

Post by flying_circus »

JakeJ wrote:If you don't know how to make buttons in php, well, that's a whole different story and there's a slew of tutorials out there.
Can you direct me to one? I normally make buttons in HTML. :mrgreen:

PHP is client independent, so, you don't have to do anything different to make your php work with a touch screen.

I would imagine a touch screen app to be pretty javascript heavy.
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: Touch screen

Post by JakeJ »

Oh boy... we've all got to start somewhere.

I think you're lacking a basic understanding of what PHP is.

PHP is a scripting language designed to output html code? Why do you need PHP? If you want to pull information from a database, use logic structures, and output other types of dynamic content, you need more than just HTML.

I suggest you run through as many PHP tutorials as you can over at http://www.W3Schools.

Good luck!
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: Touch screen

Post by flying_circus »

JakeJ wrote:Oh boy... we've all got to start somewhere.

I think you're lacking a basic understanding of what PHP is.

PHP is a scripting language designed to output html code? Why do you need PHP? If you want to pull information from a database, use logic structures, and output other types of dynamic content, you need more than just HTML.

I suggest you run through as many PHP tutorials as you can over at http://www.W3Schools.

Good luck!
Hah, thanks man, I'll check them out...
deshmukh999
Forum Commoner
Posts: 32
Joined: Mon Mar 15, 2010 2:01 am

Re: Touch screen

Post by deshmukh999 »

It is not like i want to make it in PHP..
PHP is language that I am using for Progarmming.

Touch sceen should work on my web page, this is my goal.
It may be using javascript or in anyother way.

I just want to implement it.
Please suggest me : to do get it done.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Touch screen

Post by requinix »

You don't have to do anything special. A regular webpage will work fine.
User avatar
Grizzzzzzzzzz
Forum Contributor
Posts: 125
Joined: Wed Sep 02, 2009 8:51 am

Re: Touch screen

Post by Grizzzzzzzzzz »

Code: Select all

 
<?php
 ob_end_flush();
 $count = 1000000;
 echo "Converting website to touch screen compatibility, please wait...";
 for($i = 1; $i <= $count; $i++) 
 {
     sleep(2);
     echo ".";
     flush();
 }
?>
 
Post Reply