Computer HardwareXbox GamesGameCubePlaystation 2PSOnePC/Windows GamesGameboy AdvanceDreamcastNintendo 64Gameboy ColorNintendo DSSony PSPXbox 360Nintendo Wii GamesPS3 Games

Neoseeker Forums » Programming and Design » Web Coding » Designing With Javascript

Moderated by: Kuldahar,  Artificer
REPLY TO THIS THREAD   START NEW THREAD
| Sharemore
Options: Print   subscribe   remove   PM this thread to a friendNeoPM  
subscribe to thread Topic: Designing With Javascript
bobbonew
Nov 09, 09 at 7:09pm
Designing With Javascript

I started writing a longer post, branched off from this thread lol.

One thing that I seem to always disagree with a few people is pages in a website working even without having javascript enabled.

I think that to a website, its "major" core feature(s) should perhaps work without javascript, but really I don't let it impede my designs. You can make some really rich web applications with ajax/js, and for the small minority that doesn't have it turned on I guess it sucks for them.

I guess I thought, if facebook doesn't support browsers w/o javascript, then I can too!

What are your guys thoughts about this? Is it really that big of a deal if your designing a community sort of site, and not like a "financial" application where its pretty much required?


-------------------
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Monferno
Hi
forum fever



Monferno's profileMonferno's neohomeNeoPM MonfernoMonferno's gallery (41 images)
total posts: 388
since: Jan 2009
Nov 09, 09 at 7:29pm
re: Designing With Javascript

I try to use PHP where I can.



-------------------
quote   quick quote   edit   quick edit   del  searchposts in thread  report
tekmosis
neostaff

wiki staff
neowiki




tekmosis' profiletekmosis' neohometekmosis' gallery (258 images)
total posts: 2639
GameGrep pts: 6427
since: Jul 2006
Nov 09, 09 at 7:32pm
re: Designing With Javascript

Facebook is huge enough where they can just shrug it off and not have to worry about that demographic. You aren't anywhere close to being as large as Facebook so you shouldn't conform to what they do unless you can completely say "I don't need their business". Large scale business practices don't necessarily translate to small businesses.


-------------------
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Vermillion
Design Your Universe
(moderator)

Action [DS]
Animal Crossing: Wild World [DS]
Gangs
Wi-Fi Discussion




Vermillion's profileVermillion's neohomeEmail VermillionNeoPM VermillionVermillion's gallery (544 images)
since: Jan 2006
Nov 09, 09 at 8:38pm
re: Designing With Javascript

quote Monferno
I try to use PHP where I can.
PHP doesn't offer the same interactivity as JS, however.


-------------------
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Benedict
short = sweet
Neolithic

wiki staff
pikmin




Benedict's profileBenedict's neohomeNeoPM BenedictBenedict's gallery (9 images)
total posts: 6320
neopoints: 200
since: Oct 2007
Nov 11, 09 at 6:01pm
re: Designing With Javascript

quote Vermillion
quote Monferno
I try to use PHP where I can.
PHP doesn't offer the same interactivity as JS, however.
    PHP is server-side, and so gets parsed in (most cases) before page load. JS can be used to change text on a page, etc without reload.


-------------------
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Liam
Relentless



Liam's profileLiam's neohomeNeoPM Liam
total posts: 9143
since: Dec 2001
Nov 12, 09 at 12:00pm
re: Designing With Javascript

I pretty much totally agree with you, Bobbnow. I don't think it's unreasonable to expect a user to have a modern browser, but it is of course totally audience independent. At my work our website registration forms depend on AJAX and don't work without - the main reason being it looks nice and our online financial trading app is pretty heavily JS based anyway.

I absolutely despise working with Javascript, but the fact is it does have a lot of nice features (primarily AJAX) that can't really be achieved in other ways.

My colleague at work has a reference book 'Javascript: The Good Parts' - it's only 150 pages long, and the last 50 pages or so of that covers 'The Awful Parts' - I think that just about sums it up for me.
quote   quick quote   edit   quick edit   del  searchposts in thread  report
RikkusRukkus
Two much Neo



RikkusRukkus' profileRikkusRukkus' neohomeNeoPM RikkusRukkus
since: Aug 2003
Nov 12, 09 at 11:38pm
re: Designing With Javascript

You hate working with JavaScript, Liam? Have you tried looking at libraries like Prototype (with Scriptalicious for animation), Mootools with Mootools More or jQuery? All three offer a different experience.
Protoype is mainly focussed on interactivity (with AJAX/ XHR) and has a robust classes (-like) system like that found in other languages. Scriptalicious can do some amazingly fluid animation rivaling Flash.
Mootools also gives you classes.
jQuery lets you code your own style. Its main goal is to let you "select stuff in the DOM and do stuff in the DOM". jQuery's greatest strengths are simplicity and a large, active community. It doesn't feature 'classes emulation' like other libraries, it uses JavaScript's quirky (but pretty cool) prototype system and a pretty well-thought out plugin system.

Examples:
code
// Mootools
$('myElement').addClass('myClass');
$$('.myClass').removeClass('myClass');  // $$() for CSS selectors

// jQuery
$('#myElement').addClass('myClass');
$('.myClass').removeClass('myClass');

// Native way
el = document.getElementById('myElement');
el.className = el.className + ' myClass ';
for(el in document.getElementsByClassName('myClass'))
  el.className = el.className.replace('myClass', '');

// Simple POST request with jQuery:
var data = {  name:'John Doe',  poll_id:32,  voted_on:16  }
$.post('index.php', data, function() {
  alert('If you see this message, your vote has been accepted.');
});


-------------------
Something.
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Liam
Relentless



Liam's profileLiam's neohomeNeoPM Liam
total posts: 9143
since: Dec 2001
Nov 13, 09 at 2:24pm
re: Designing With Javascript

Yes, I mainly use jQuery and Prototype (Rails has built in prototype helpers). They definitely make it a nicer experience. I think the main problem I have with Javascript is IE compatibility, which can often be a pain in the backside - even with the frameworks.
quote   quick quote   edit   quick edit   del  searchposts in thread  report
[All dates in (PT) time]Threads List   « Next Newest   Next Oldest »
REPLY TO THIS THREAD   START NEW THREAD


search:
Neoseeker Forums » Programming and Design » Web Coding » Designing With Javascript



Jump to another forum:

Powered by neoforums v0.9.7g (equilibrium)
Copyright Neo Era Media, Inc. 1999-2009

neoseeker forum community
Neoseeker.com   |   Forum Rules   |   Forum FAQ   |   Neoseeker Terms of Use   |   Supermods On Duty [ server id: ascension ··· elapsed: 0.0745189190]
Affiliated sites:   GameGrep - Football Manager Wiki - Halo Wiki - MGS Wiki - GTA Wiki - Smackdown Wiki - Zelda Wiki - PS2seeker - Xbox seeker - DEVPEN - GFXcess