By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,492 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

OT: Need opinions to reinforce use of AJAX w/ PHP

P: n/a
This is not a PHP related question, but a question focused to PHP
developers.

Sadly enough I just started looking at the functionality using AJAX
procedures. All my sites have been 100% PHP with the only javascript
being used for user chosen hint boxes and date choices using a pop-up
calendar.

I was taught early on not to develop any site that requires javascript
for its basic operation. I think from most posts that most PHP coders
have that same philosophy.

I also know that times do change as does rationale behind coding. So I
am asking opinions from the PHP developers (reason for OT post) their
thoughts on using AJAX (javascript) that would be a foundation part of a
site (required).

Thanks
Scotty
Oct 12 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
FutureShock wrote:
This is not a PHP related question, but a question focused to PHP
developers.

Sadly enough I just started looking at the functionality using AJAX
procedures. All my sites have been 100% PHP with the only javascript
being used for user chosen hint boxes and date choices using a pop-up
calendar.

I was taught early on not to develop any site that requires javascript
for its basic operation. I think from most posts that most PHP coders
have that same philosophy.

I also know that times do change as does rationale behind coding. So I
am asking opinions from the PHP developers (reason for OT post) their
thoughts on using AJAX (javascript) that would be a foundation part of a
site (required).

Thanks
Scotty
I use javascript (including AJAX) to enhance the site. Not for anything
required to use the site.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Oct 12 '08 #2

P: n/a
..oO(FutureShock)
>This is not a PHP related question, but a question focused to PHP
developers.

Sadly enough I just started looking at the functionality using AJAX
procedures. All my sites have been 100% PHP with the only javascript
being used for user chosen hint boxes and date choices using a pop-up
calendar.

I was taught early on not to develop any site that requires javascript
for its basic operation.
Correct.
>I think from most posts that most PHP coders
have that same philosophy.
This is not related to PHP, but simply the way the Web works. The only
thing you can rely on is HTML, which is the foundation of the Web.
Anything else is just optional: CSS, images, JS, Flash, ...
>I also know that times do change as does rationale behind coding. So I
am asking opinions from the PHP developers (reason for OT post) their
thoughts on using AJAX (javascript) that would be a foundation part of a
site (required).
Bad idea. JS is just an additional feature. It can be a nice addition
and may enhance the user experience, but relying on it to make a site
work just means a decreased accessibility and will prevent many users
from using the site.

It's your decision whether to build a site just for some users with a
given browser environment or to keep it platform-independent and more
WWW-like. In the Web what matters is content, not technology or which
browser is used.

For further discussions you should ask in an HTML authoring group.

Micha
Oct 12 '08 #3

P: n/a
FutureShock wrote:
I am asking opinions from the PHP developers their thoughts on using AJAX
that would be a foundation part of a site (required).
It really depends on the particular case. There will be cases where
accesibility is a must and you must ditch all traces of javascript, and
there will be cases where you must ditch accesibility for providing another
experience.

--
----------------------------------
Iván Sánchez Ortega -ivan-algarroba-sanchezortega-punto-es-

Green light in A.M. for new projects. Red light in P.M. for traffic
tickets.

Oct 12 '08 #4

P: n/a
Iván Sánchez Ortega wrote:
FutureShock wrote:
>I am asking opinions from the PHP developers their thoughts on using AJAX
that would be a foundation part of a site (required).

It really depends on the particular case. There will be cases where
accesibility is a must and you must ditch all traces of javascript, and
there will be cases where you must ditch accesibility for providing another
experience.
Thanks for taking the time to respond, they seem to reinforce my
decisions to only use them for optional bells and whistles.
Scotty
Oct 12 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.