Page 1 of 1
Touch screen
Posted: Tue Mar 16, 2010 12:41 am
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
Re: Touch screen
Posted: Tue Mar 16, 2010 1:40 am
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.
Re: Touch screen
Posted: Tue Mar 16, 2010 2:48 am
by deshmukh999
But How to do it..
Please give me ideas to do it using php
Re: Touch screen
Posted: Tue Mar 16, 2010 3:35 am
by requinix
For all intents and purposes a touchscreen is a mouse. You don't have to do anything differently.
Re: Touch screen
Posted: Tue Mar 16, 2010 6:18 pm
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.
Re: Touch screen
Posted: Tue Mar 16, 2010 7:23 pm
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.
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.
Re: Touch screen
Posted: Tue Mar 16, 2010 8:31 pm
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!
Re: Touch screen
Posted: Tue Mar 16, 2010 9:46 pm
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...
Re: Touch screen
Posted: Wed Mar 17, 2010 4:32 am
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.
Re: Touch screen
Posted: Wed Mar 17, 2010 5:42 am
by requinix
You don't have to do anything special. A regular webpage will work fine.
Re: Touch screen
Posted: Wed Mar 17, 2010 6:31 am
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();
}
?>