The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. October 16, 2019, 05:52:56 AM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: which way for an interface ?  (Read 1922 times)
NYDAz
Expert
****
Offline Offline

Posts: 212

The Night Stalker


View Profile
« on: June 24, 2009, 10:26:13 AM »

i've created a little php script to do his thing !

now i want to create a interface ! should I go for forms ?
Logged

what's up?
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #1 on: June 24, 2009, 10:36:40 AM »

if I didnt know better, I would think this was a bot post...
try again with complete sentences, LOL
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
NYDAz
Expert
****
Offline Offline

Posts: 212

The Night Stalker


View Profile
« Reply #2 on: June 24, 2009, 10:47:15 AM »

if I didnt know better, I would think this was a bot post...
try again with complete sentences, LOL

 Shocked  ROFLMAO

let me rephrase that !

I've created a little script that executes something !

now ... for my own selfish purpose ... i want to be organized !

i want to create an html interface for that script (written in php) !

Now I think the best thing is to create a form where I can input my details and then just click a button to execute the script !

My question was that if are other methods to create an interface for php scripts beside forms !

Execuse my english !  Embarrassed  Embarrassed  Embarrassed

 Praise
Logged

what's up?
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #3 on: June 24, 2009, 11:08:14 AM »

it wasnt an english problem, lol

it was a lack of info problem.

anyway, yes forms are really the only choice. Im sure someone can get into a symantic argument with me about building interactions using ajax without forms technically, but that is pointless. just use forms.

however...
the next thought you should consider is, how much time you want spend on using that form, and how much you could automate.
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #4 on: June 24, 2009, 11:21:10 AM »

Forms are one way, but they offer some interesting problems with the Back button and such. Personally I use all Ajax to issue requests, because I can get a much more dynamic response and don't have to deal with page loads.

Consider this JS class: http://www.perkiset.org/forum/javascript_code_repository_examples/ajax_requestor_class-t38.0.html

... there are instructions on how to use it in the thread. It's not tough at all, just a different way of thinking. My personal management sites (and even moreso, those for my clients) are all Ajax. In fact, my personal management sites are only a single page now, with EVERYTHING being Ajax with the exception of the initial log in.

Ping back if you want to try this route, I can help.

Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!