Jump to content

Recommended Posts

I'm not sure which room (I call them "forums" but the whole thing -what I call a "board"- is called a "forum") would be best suited to my problem. My PHP code isn't receiving my POST variables sent from JavaScript through an XmlHttpObject; is this PHP, JavaScript, or XML? I propose that a room be opened for AJAX.

Link to post
Share on other sites
I'm not sure which room (I call them "forums" but the whole thing -what I call a "board"- is called a "forum") would be best suited to my problem. My PHP code isn't receiving my POST variables sent from JavaScript through an XmlHttpObject; is this PHP, JavaScript, or XML? I propose that a room be opened for AJAX.
The Javascript forum would be your best bet. AJAX is not an own language, so it does not warrant an own forum. AJAX is not intended spesifically for PHP, other serverside languages have support as well. Neither does the name XmlHttpObject mean that it has anything spesific to do with XML.
Link to post
Share on other sites
My PHP code isn't receiving my POST variables sent from JavaScript through an XmlHttpObject; is this PHP, JavaScript, or XML? I propose that a room be opened for AJAX.
Do you mean The XMLHttpRequest Object?.AJAX (Asynchronous JAvascript + Xml) is a set of technologies: http://www.web2logistics.com/ that also can use hidden frames or iFrames where the asynchronous communication with the server takes place: See Jesse James Garrett's original article: http://www.adaptivepath.com/ideas/essays/archives/000385.php As far as I know Google combines the technologies in Google suggest, Google maps, Gmail etc.Here http://www.nczonline.net/ is a good AJAX source, more precisely the home page of Nicholas C. Zakas that has coauthored the book http://www.wrox.com/WileyCDA/WroxTitle/pro...0470109491.htmlHere is an AJAX book specifically designed for ASP.NET developers.http://www.wrox.com/WileyCDA/WroxTitle/pro...047010998X.htmlTry this "Search Titles for" AJAXAlso note that Borland (C++Builder® 2007, see link in my signature) has the following text on their site:"With VCL for the Web you can quickly and visually build interactive and responsive dynamic data-driven corporate web applications that support AJAX techniques". A better name of a new forum would IMO be Web Applications.Note: The original title of Garret's original 2005 article was: Ajax: A New Approach to Web Applications
Link to post
Share on other sites
AJAX is not an own language, so it does not warrant an own forum.
Neither is CSS or (X)HT(ML) IMO. :) Note languages in my profile: English, Norwegian and some German :)
Link to post
Share on other sites
Neither is CSS or (X)HT(ML) IMO. :) Note languages in my profile: English, Norwegian and some German :)
PROGRAMMING language, you know?And anyhow, this has been discussed before and has been declined for the same good reason DHTML forum has not been created. So, shouldn't this topic be closed already?
Link to post
Share on other sites
PROGRAMMING language, you know?
Yes, I took that, but why not write "Programming languages?"CSS = Styling.X(HT)ML = Markup / taggingJS and PHP4.x and below = Scripting Languages.Later version of Perl and PHP may be called programming languages like Simula, Beta, C, C++, C#, Java etc. :) Not big points though, even if syntax, semantics and pragmatics are very important."But after a while, most programmers realize that this means that a program is equipped with a safety net: many errors that programmers make when they construct programs are caught by this net before they lead to unpleasant effects. An example: A very expensive American space rocket crashed on its way to Venus a few years ago, because of an extremely trivial error in a FORTRAN program. A comma had be written as a point, and, as a consequence of that, the start of a special kind of repeat imperative was mistakenly read as an assignment imperative assigning a value to an undeclared variable. Had it been required to declare every variable in FORTRAN programs, the compiler would have discovered that the variable was undeclared and the error would have been caught much earlier than in the Atlantic Ocean."Professor Bjørn Kirkerud (1989): "Object Oriented Programming With Simula". Addison Wesley Publishing Company ISBN 0 201 17574 6. Page 31-32.<digression>One of the best books I know that has ever been written on OOP. A true classic. As far as I know, Simula is still used to teach students OOP at the university of Oslo. The book is nearly selv documentary. You can read code and figure out what the program do, much better than in C inspired languages. Pholymorphism, multiple inheritance, garbage collection etc. are easily understood in Simula. The most abstract programming language I know of is Beta where everything is a pattern (since Ajax is mentioned).</digression>
Link to post
Share on other sites

Jonas, I wasn't excluding ASP, etc. from AJAX. It just seems to me that an AJAX forum would make more sense than AJAX posts in a JavaScript forum... But never mind, as I obviously haven't found any agreement.kgun, yes, I've read the tutorial (all three, actually); it seems I forgot the exact word. (Gosh!) Do you have (some of) that text handily saved on your computer for situations such as this? (Just curious; some of it seems like an unrelated spill.)

Link to post
Share on other sites
kgun, yes, I've read the tutorial (all three, actually); it seems I forgot the exact word. (Gosh!) Do you have (some of) that text handily saved on your computer for situations such as this? (Just curious; some of it seems like an unrelated spill.)
No problem, if you can be more concrete, I have even copies of articles that I can send you.
Link to post
Share on other sites
Yes, I took that, but why not write "Programming languages?"CSS = Styling.X(HT)ML = Markup / taggingJS and PHP4.x and below = Scripting Languages.Later version of Perl and PHP may be called programming languages like Simula, Beta, C, C++, C#, Java etc. :)
(X)(HT)(ML) (covers both html, xhtml and xml :)) I'm guessing you know stands for (eXtensible)(HyperText)(Markup Language). So if W3 calls it a language, I'm not going to challenge that. Besides, some of the key elements to languages are syntax and structure. HTML (arguably) has a set of rules of syntax and structure as of HTML 4.0, although browsers still don't enforce them too well. XHTML and XML has a set of rules of syntax and structure. Same to some degree with CSS. Javascript, PHP, ASP(.Net), ColdFusion etc without doubt. Plus, "Programming languages" takes up a whole lot more horizontal space in a limited-width mini-profile about the poster. "Language" then covers everything. Plus we're on a programming forum, where the written language of use is English, the same as the main w3schools site and tutorials, so what human languages everyone knows really is irrellevant. :blink:
And anyhow, this has been discussed before and has been declined for the same good reason DHTML forum has not been created. So, shouldn't this topic be closed already?
I see no reason why it can't stay open. What if someone in the future against all odds find the Search Form, find an AJAX thread, and it's locked, but they have some interesting input/good points? They'll have to start a new one, and when we lock that one, it will happen again over time.Plus, I already cured the itch in my finger for today. :)
Link to post
Share on other sites
Plus, I already cured the itch in my finger for today. :)
Speaking of "itches" and with my mentioning of DHTML, I have an itch to say this...Don't you see a pattern with both AJAX and DHTML? Yes, I know, both are a mixture of languages, but that wasn't my point...DHTML mixes HTML, JavaScript and CSS - i.e. client side languages with semi-enforced rules (i.e recover on invalid inputs).AJAX mixes XML, JavaScript and S3Ls - i.e. client AND server languages that have strongly enforced rules (i.e. recover from unlogical, but not from invalid documents).Now, following this pattern, can you guess what the next buzzword would involve? If my pattern assumption is correct, it should be something likeXHTML, JavaScript and... I don't know... SVG? - it really depends on what will be the next big thing JS would allows us to do. In the case of SVG, those would be client languages with strongly enforced rules. Hmm... I think I'll call this "JSX" as in "JavaScript, SVG and XHTML" :) . Sounds cool, no? Or maybe "DSX" as in "Dynamic SVG and XHTML" :) .
Link to post
Share on other sites
"Programming languages" takes up a whole lot more horizontal space in a limited-width mini-profile about the poster. "Language" then covers everything.
My bolding: covers everything and nothing?Hm. Now I am more confused but, perhaps on a higher level. IT-Background?IT-Skills?Note: The top of laziness is to do everything correct from the very beginning (if you are able to do that?)--- 00 ---
Link to post
Share on other sites
I see no reason why it can't stay open. What if someone in the future against all odds find the Search Form, find an AJAX thread, and it's locked, but they have some interesting input/good points?
Advanced Usage Help: "Some Words" Find posts with the phrase 'some words of wisdom', 'some words' but not 'some noise words' My bolding.I should like that search form, with AJAX functionality on my own sites.
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %><%@ Import Namespace="System.Data" %><%@ Import Namespace="System.Data.SqlClient" %><script runat="server">  dim resultCount as integer = 0   dim strA as string  Dim myConnection as New SqlConnection("server=myServerName;pwd=myPassword;database=myDB")Function dhReplaceAll( _ ByVal strText as string, _ ByVal strFind as string, _ ByVal strReplace as string, _ ByVal intFirst as integer, _ ByVal intCount as integer, _ ByVal fCaseSensitive as boolean)   	Dim intLenFind,intLenReplace,intPos,intStart,intI,intFound,intLast,intMode	' If anything's wrong in the various parameters,	' just exit. Unorthodox method, but it works here.	If Len(strText) = 0 Then Exit Function	If Len(strFind) = 0 Then Exit Function	If intFirst = 0 Then Exit Function	If intCount = 0 Then Exit Function	' The parameters must be reasonable if we're here.		' Handle the three optional parameters.	If intFirst < 0 Then		' -1 == start at the last match.		' -2 == start at the next to the last match, etc.	   ' intFound = dhCountIn(strText, strFind, False)		intFirst = intFound + intFirst + 1		If intFirst < 1 Then intFirst = 1	End If	If intCount > -1 Then		intLast = intFirst + intCount	End If		If fCaseSensitive Then		intMode = vbBinaryCompare '0	Else		intMode = vbTextCompare '1	End If	' Store away the length of the find and replace	' text, to speed things up later on.	intLenFind = Len(strFind)	intLenReplace = Len(strReplace)	intPos = 1	intI = 1	Do		intPos = InStr(intPos, strText, strFind, intMode)		If intPos > 0 Then			' Did you find a match? If so, check the other			' issues (starting replacement, and number			' of replacements)			If (intI >= intFirst) And _			 ((intCount = -1) Or (intI < intLast)) Then				' If the current item is greater than or equal				' the first item the caller has requested to be replaced,				' and...				' If either you don't care about the number of				' replacements, or this one is less than the				' final one you want to make, then do it.							' Perform the replacement.				strText = Left(strText, intPos - 1) & _				 strReplace & Mid(strText, intPos + intLenFind)				' Skip over the new text.				intPos = intPos + intLenReplace			Else				' Just skip over the search string.				intPos = intPos + intLenFind			End If			intI = intI + 1			 			If (intCount <> -1 And intI >= intLast) Then				Exit Do			End If		End If	Loop Until intPos = 0	dhReplaceAll = strTextEnd FunctionFunction TrimAll(Str)'remove all non ASCI chrs and reduce internal whitespace to single	Dim i, strTemp, strOut, strCh	strTemp = Str	For i = 1 To Len(strTemp)		strCh = Mid(strTemp,i,1) 'look at each character in turn		'if the chr is a space and the previous added chr was a space ignore it		'otherwise add it on		If Not (strCh = " " and Right(strOut,1) = " ") _		And ((Asc(strCh) >= 64 And Asc(strCh) <= 122) _		Or (Asc(strCh) >= 48 And Asc(strCh) <= 57) Or Asc(strCh) = 32 Or strCh = ".") Then			strOut = strOut & strCh		End If	Next	TrimAll = strOutEnd FunctionFunction RemoveIllegals(ByVal strTemp As String) As StringDim IntI 	'remove words that you don't want to search on from strTemp	strTemp = " " & strTemp & " "  'pad out first	'now remove illegal characters INSIDE words	strTemp = dhReplaceAll(strTemp, ",", "", 1, -1, False) 'replace commas	strTemp = dhReplaceAll(strTemp, "'", "", 1, -1, False) 'remove apostrophe	strTemp = dhReplaceAll(strTemp, ".", "", 1, -1, False) 'fullstops	strTemp = dhReplaceAll(strTemp, "+", "", 1, -1, False) 'plus	strTemp = dhReplaceAll(strTemp, "%20", "", 1, -1, False)	strTemp = dhReplaceAll(strTemp, ">", "", 1, -1, False)	strTemp = dhReplaceAll(strTemp, "<", "", 1, -1, False)	strTemp = dhReplaceAll(strTemp, "%257C", "", 1, -1, False)	strTemp = TrimAll(strTemp) 'remove multiple whitespace	'strTemp = Trim(strTemp)	strTemp = dhReplaceAll(strTemp, "-", " ", 1, -1, False) 'dash	strTemp = dhReplaceAll(strTemp, Chr(34), "", 1, -1, False) 'quotation marks 	'WORDS to exclude		dim Illegal() as string = {"0","1","2","3","4","5","6","7","8","9","$","a","about","after", _				"all","also","an","and","another","any","are","as","at","b","be", _				"because","been","before","being","between","both","but","by","c", _				"came","can","come","could","d","did","do","does","e","each","else", _				"f","for","from","g","get","got","h","had","has","have","he","her","here", _				"him","himself","his","how","i","if","in","into","is","it","its","j","just", _				"k","l","like","m","make","many","me","might","more","most","much","must","my", _				"n","never","now","o","of","on","only","or","other","our","out","over","p","q", _				"r","re","s","said","same","see","should","since","so","some","still","such","t", _				"take","Test","than","that","the","their","them","then","there","these","they", _				"this","those","through","to","too","u","under","up","use","v","very","w","want", _				"was","way","we","well","were","what","when","where","which","while","who","will", _				"with","would","x","y","you","your","z","'","--",VbCrlf,";","\","/", _				"%", "*", "#"}															 	'remove illegal words	For IntI = LBound(Illegal) To UBound(Illegal)		If InStr(strTemp, " " & Illegal(IntI) & " ") Then			'Response.Write(Illegal(IntI) & "<br>")			strTemp = dhReplaceAll(strTemp, " " & Illegal(IntI) & " ", " ", 1, -1, False)		End If	Next 'IntI	RemoveIllegals = strTempEnd Function Sub Page_Load(Src As Object, E As EventArgs)    searchPanel.visible = true  resultsPanel.visible = false  panelnoresults.visible = false    dim lstxtsearch as string  lstxtsearch = trim(request.Form("txtSearch"))  if lstxtsearch = "" Then   'do nothing page has been accessed directly  Else  txtQuery.Text = lstxtsearch	' make the page search	strA = txtQuery.TextstrA = RemoveIllegals(strA)strA = strA.Trim(strA)dim keyword as String = "INSERT INTO keywords VALUES ('" & strA & "')"	dim insertTempCommand as New SqlCommand(keyword, myConnection)		Dim insertedTemp as integer	  		try		  myConnection.Open()		  insertedTemp = insertTempCommand.ExecuteNonQuery()		catch ex as Exception		  myConnection.Close()		  end try		  myConnection.Close() dim searchInflectSQL as string = "SELECT kwsearch.title, kwsearch.description, kwsearch.url, kwsearch.kwsearch_id, kwsearch.verified, KEY_TBL.RANK FROM kwsearch INNER JOIN FREETEXTTABLE(kwsearch, title, '" & strA & "') AS KEY_TBL ON kwsearch.kwsearch_id = KEY_TBL.[KEY] WHERE kwsearch.verified = 1 ORDER BY KEY_TBL.[RANK] DESC"		resultsPanel.visible = true		  dim showResults as boolean = true  'txtResult.Text = searchInflectSQL  Dim myCommandInflect as New SqlCommand(searchInflectSQL, myConnection)				Dim myDAInflect as New SqlDataAdapter()			  myDAInflect.SelectCommand = myCommandInflect			  Dim myDSInflect as New DataSet()				  try					myDAInflect.Fill(myDSInflect, "results")   						if myDSInflect.Tables("results").Rows.Count > 0 then							  resultCount = resultCount + myDSInflect.Tables("results").Rows.Count							'resultCount = myDS.Tables("results").Rows.Count							  showResults = true												Else 						resultsPanel.visible = true						  panelnoresults.visible = true																		end if							  catch ex as Exception							  end try  							  try								  repeaterInflectResults.DataSource = myDSInflect								  repeaterInflectResults.DataBind()									  catch Ex as Exception									  end try						if showResults then 							  resultsPanel.visible = true							  searchPanel.visible = true	 					end if  End if  End Subsub search_click(Src As Object, E As EventArgs)strA = txtQuery.TextstrA = RemoveIllegals(strA)strA = strA.Trim(strA) dim searchInflectSQL as string = "SELECT kwsearch.title, kwsearch.description, kwsearch.url, kwsearch.kwsearch_id, kwsearch.verified, KEY_TBL.RANK FROM kwsearch INNER JOIN FREETEXTTABLE(kwsearch, title, '" & strA & "') AS KEY_TBL ON kwsearch.kwsearch_id = KEY_TBL.[KEY] WHERE kwsearch.verified = 1 ORDER BY KEY_TBL.[RANK] DESC"		resultsPanel.visible = true		  dim showResults as boolean = true  'txtResult.Text = searchInflectSQL  Dim myCommandInflect as New SqlCommand(searchInflectSQL, myConnection)				Dim myDAInflect as New SqlDataAdapter()			  myDAInflect.SelectCommand = myCommandInflect			  Dim myDSInflect as New DataSet()				  try					myDAInflect.Fill(myDSInflect, "results")   						if myDSInflect.Tables("results").Rows.Count > 0 then							  resultCount = resultCount + myDSInflect.Tables("results").Rows.Count							'resultCount = myDS.Tables("results").Rows.Count							  showResults = true													Else 						resultsPanel.visible = true						  panelnoresults.visible = true																		end if							  catch ex as Exception							  end try  							  try								  repeaterInflectResults.DataSource = myDSInflect								  repeaterInflectResults.DataBind()									  catch Ex as Exception									  end try						if showResults then 							  resultsPanel.visible = true							  searchPanel.visible = true	 					end ifdim keyword as String = "INSERT INTO keywords VALUES ('" & strA & "')"	dim insertTempCommand as New SqlCommand(keyword, myConnection)		Dim insertedTemp as integer	  		try		  myConnection.Open()		  insertedTemp = insertTempCommand.ExecuteNonQuery()		catch ex as Exception		  myConnection.Close()		  end try		  myConnection.Close()end sub</script><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><link href="global.css" rel="stylesheet" type="text/css" media="screen"><link href="print.css" rel="stylesheet" type="text/css" media="print"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>5 Star Search Engine</title><link rel="shortcut icon" href="images/5staricon.ico" ></head><body>		<div id="container">			<div id="banner">															<div id="search" align="right">					<form action="http://www.5-star.co.uk/search.aspx" method="post" style="margin: 0; padding: 0;"><input ID="txtSubmit" style="font-size:9px" type="submit" Value="Search" name="txtSubmit"> <input type="text" ID="txtSearch" style="font-size:9px" name="txtSearch" size="14"></form>				</div>							</div>								<div id="breadcrumbs">					<div>					<span class="viewing">Currently Viewing:</span> <a href="default.aspx">home</a> / <a href="search.aspx">search</a>					</div>				</div>		 		<div id="content">													<br>					<asp:panel ID="searchPanel" Visible="false" runat="server">	<form runat="server" action="" method="post" style="margin: 0; padding: 0;">	<h1>5 Star Search Engine</h1>	  <h2>Enter keyword:</h2>	 <asp:TextBox Columns="20" Font-Name="verdana" id="txtQuery" runat="server"></asp:TextBox> <asp:Button ID="search2" runat="server" Text="Search" OnClick="search_click" />   <br><br><img src="images/mNavigationBullet.gif"> <a href="searchtips.aspx" class="newLinksSmall">Search tips</a>   	 </form>	</asp:panel>	<asp:panel ID="resultsPanel" Visible="false" runat="server">	<h2>Keyword Search Engine Results: <%=resultCount%> Matches Found</h2>	<p>Your search for '<%=strA%>' found the following <%=resultCount%> documents (of over 125 documents searched)	<br>	Displaying all results with best matches displayed first:</p>	<asp:Repeater runat="server" id="repeaterInflectResults">   <HeaderTemplate>	 <div class="section">   </HeaderTemplate>   <ItemTemplate>   <div class="sectionblocka">	<p><img src="images/mNavigationBullet.gif"> <a href="<%# DataBinder.Eval(Container.DataItem, "url")%>" class="newLinksSmall"><strong><%# DataBinder.Eval(Container.DataItem, "description")%></strong></a>	<br>http://www.5-star.co.uk/<%# DataBinder.Eval(Container.DataItem, "url")%></p>      </div>   </ItemTemplate>   <AlternatingItemTemplate>   <div class="sectionblocka">	<p> <img src="images/mNavigationBullet.gif"> <a href="<%# DataBinder.Eval(Container.DataItem, "url")%>" class="newLinksSmall"><strong><%# DataBinder.Eval(Container.DataItem, "description")%></strong></a>   <br>http://www.5-star.co.uk/<%# DataBinder.Eval(Container.DataItem, "url")%></p>   </div>   </AlternatingItemTemplate>   <FooterTemplate>	 </div>   </FooterTemplate></asp:Repeater>	</asp:panel>		<asp:panel ID="panelnoresults" Visible="false" runat="server">	<p>No documents have been found for your search criteria - please amend your search criteria, visit the search tips page, or request a 5 Star callback</p>	<img src="images/mNavigationBullet.gif"> <a href="searchtips.aspx" class="newLinksSmall">Search tips</a><br>	<img src="images/mNavigationBullet.gif"> <a href="contactForm.aspx" class="newLinksSmall">Request a 5 Star callback regarding your query</a>	</asp:panel>									</div>		   									</div> </body></html>

Anybody that can translate that site search code to PHP with Google suggest functionality? I think Google combines iFrame and XMLHTTPRequest technology.

Link to post
Share on other sites
My bolding: covers everything and nothing?Hm. Now I am more confused but, perhaps on a higher level. IT-Background?IT-Skills?Note: The top of laziness is to do everything correct from the very beginning (if you are able to do that?)--- 00 ---
*sigh*It's just a quick-and-easy way for people to add what languages they use (or in the case of having several serverside languages, ranging may imply preferation or proficiency). Take the word "post" for instance. There's a function (IPB in-built) where you can link to another post on the forum, but it doesn't have to say "Link to other post on same forum", and nobody seems to confuse it with making a link to the post-office or something else. Bad example, I know, but the point is clear. "Language" in this case, and the meaning of it, can easily be deduced in the context of what the forum is. Regarding "IT-Background", or "IT-Skills", w3schools is a tutorial site for everyone, and mostly people with no experience, to learn and have reference to languages. Many, I'd even guess the majority, will not have any IT-Background, or spesific IT-Skills as aquired through for example a college or university course. The thing that ties us all together here is not education background, but interest in learning and I guess sharing our already-attained knowledge.I haven't seen anyone else having a problem with the choice of words or the addition of the "Language" list for profiles. In fact, I seem to remember it welcomed as a fun addition. There's really no need to go so far trying to analyse the semantic side of the choice. Practicality is included as well here.Meanwhile I apologise for not meeting your demands for laziness. :)
Link to post
Share on other sites
The thing that ties us all together here is not education background, but interest in learning and I guess sharing our already-attained knowledge.I haven't seen anyone else having a problem with the choice of words or the addition of the "Language" list for profiles. In fact, I seem to remember it welcomed as a fun addition. There's really no need to go so far trying to analyse the semantic side of the choice. Practicality is included as well here.Meanwhile I apologise for not meeting your demands for laziness. :)
Yes of course it is, but be careful so you do not teach bad habits, so a rocket ends in the Atlantic Ocean. My demand for laziness, is that you do everything correct with your current level of knowledge and sometimes you may ask other people how to do things.W3Shools is reckognized as an authoritative source on the net. And W3Schools have to take AJAX and more generally Web Applications seriously (a very simple RSS news feed based AJAX applicationhttp://www.kjellbleivik.com/Books/ProAJAX/...ple/default.htm) if the site and the forum will continue to be an authoritative site. Web 2.0 and http://www.internet2.edu/ is not an hype. It is a reality.In a nutshellWeb 1.0 = HTML + URL + HTML browser. Web 2.0 = XML + URI (IRI) + XML browser The X in AJAX is Xml.I share the thread starters view, that AJAX or more generally Web Applications should have an own forum. I have had it on my own (locked because of spam for more than a half year). I even have a separate category hosted applications.I have seen no evidence that my signature is less correct than other members on this forum.
Link to post
Share on other sites
Yes of course it is, but be careful so you do not teach bad habits, so a rocket ends in the Atlantic Ocean.
What? Which rocket scientist is learning HTML on w3schools?
you do everything correct with your current level of knowledge and sometimes you may ask other people how to do things.
Isn't that already what everyone does with everything?
W3Shools is reckognized as an authoritative source on the net. And W3Schools have to take AJAX and more generally Web Applications seriously
There's no indication that W3Schools is not taking AJAX seriously. They have a tutorial about AJAX, and they offer support forums for Javascript, XML, PHP, ASP, Coldfusion, etc. That's all you need for AJAX.
Web 2.0 and http://www.internet2.edu/ is not an hype. It is a reality.In a nutshellWeb 1.0 = HTML + URL + HTML browser. Web 2.0 = XML + URI (IRI) + XML browser
We've already had this discussion on here, but "Web 1.0" and "Web 2.0" are not technologies. They are marketing terms. The only people who use the term "Web 2.0" to describe something are people who don't know how to describe the specific technologies, i.e. marketers. Moreover, it would be a very bad idea at this point to set up a strictly compliant XHTML website, 70% of the internet population wouldn't be able to use it. "Reality" or not, HTML is here to stay.
I share the thread starters view, that AJAX or more generally Web Applications should have an own forum.
I disagree. Any question about "AJAX" can fit into one of these categories: a Javascript question, an HTML/XML question, or a server-side question. Any of those questions can be answered in their appropriate forums, and probably faster then if they were all grouped into one forum. People using AJAX need to realize that it is not one thing, it is several things working together to achieve a specific result. If they don't understand that, then they aren't going to be very successful using it.
Link to post
Share on other sites
What? Which rocket scientist is learning HTML on w3schools?
My last word on just that. Is it rocket scinece to advocate correct (let us not discuss that word too) markup / code?
Isn't that already what everyone does with everything?
No not everybody. Some people are too fast and sloppy. I could not said it better myself:Read what Matt Zandstra writes about being too fast. "The problem is that PHP is just too easy. It tempts you to try out your ideas, and flatters you with good results. You write much of your code straight into your Web pages, because PHP is designed to support that. You add the heavier code to functions in library files, and before you know it you have a working Web application. You are well on your way to ruin. You don't realize this, of course, because your site looks fantastic. It performs well, your clients are happy, and your users are spending money." I have no time to discuss that any more either.
There's no indication that W3Schools is not taking AJAX seriously. They have a tutorial about AJAX, and they offer support forums for Javascript, XML, PHP, ASP, Coldfusion, etc. That's all you need for AJAX.
I have noted that tutorial. No, you are wrong. Professional AJAX combining different technologies like Google does is more (hidden frames and iFrames etc.)I wrote this http://www.forumnorway.com/viewtopic.php?t=705post today. Study that in detail. It may be just around the corner. Web Applications are developing fast. AJAX is part of that developement. I will not discuss that any more either. The admins and the moderators are the bosses on this forum. It is up to them to decide.
We've already had this discussion on here, but "Web 1.0" and "Web 2.0" are not technologies. They are marketing terms. The only people who use the term "Web 2.0" to describe something are people who don't know how to describe the specific technologies, i.e. marketers.
:)
I disagree. Any question about "AJAX" can fit into one of these categories: a Javascript question, an HTML/XML question, or a server-side question.
Partly agree, but better to have all these question in one place. As I have told n-times, I would have called the forum "Web applications" (may be with an AJAX) subforum)
Any of those questions can be answered in their appropriate forums, and probably faster then if they were all grouped into one forum. People using AJAX need to realize that it is not one thing, it is several things working together to achieve a specific result. If they don't understand that, then they aren't going to be very successful using it.
And if the facts don't fit the theory, change the facts. Your facts nearly fits the theory, but sometimes you have to rewrite the map with newer technologies. A very simple example of a newer technology is combining old technologies in a new way like it is done with AJAX (by the way it is the name of a washing powder in Norwegian :) Call it what you want. W...A...).
Link to post
Share on other sites
I have noted that tutorial. No, you are wrong. Professional AJAX combining different technologies like Google does is more (hidden frames and iFrames etc.)I wrote this http://www.forumnorway.com/viewtopic.php?t=705post today. Study that in detail. It may be just around the corner. Web Applications are developing fast. AJAX is part of that developement.I will not discuss that any more either. The admins and the moderators are the bosses on this forum. It is up to them to decide.
It almost looks as if you're saying we decide who's right and wrong. If so, you have this forum all wrong. We enforce rules and etiquette, not opinions.
Link to post
Share on other sites

@kgunIt is obvious that you are very passionate about AJAX, and no one wants to take any of that away from you (or anyone else for that matter). The simple fact is that AJAX is not a stand alone technology, it is a marriage of javascript and XML. We all know this and that point need not be disputed. But the forum categories are designed with a specific convention. Right now, AJAX doesn't fall into one of those categories. It doesn't fit alone in "Browser Scripting" because of the XML element and it doesn't fit alone in the "XML Forums" because it involves javascript and it definitely doesn't belong in "Server Scripting" because AJAX is impartial to all of that.It appears to me, correct me if I am wrong, that you rely on AJAX for very high end, elaborate functionality and that's good. But fro right now it is not completely mainstream. And although that might be controversial to most, you have to understand what implementing AJAX takes away from a website. Mainly, its is tracking. With all the requests going back and forth through javascript and XML, traditional web statistics and the way they are interpreted are not able to keep up with the functionality. This is one reason why many companies that actually use web statistics to measure performance and to make decisions are not able to take advantage of AJAX. Having said that, AJAX doesn't really have a home right now and it is sort of an orphan (really more of a mutant). Again, there is nothing wrong with that except that it (alone) doesn't fit into the convention of creating forums on this site at the moment.The moderators and admins you see on this board everyday are all volunteer developers - we have no financial ties to w3schools.com or any other tie for that matter. There is nothing more than our passion to help others that keeps us involved. We do our best to provide clear and concise areas participate in conversations that hopefully result in a solution or an educational experience at the very least.Finally, and to make my point, a new category called "Web Applications" will simply decentralize topics and create a nightmare to administer. Any combination of any of the current technologies defined as topic categories would constitute a "Web Application". This would mean that any topic posted on the site could start in "Web Applications" and then when it is understood what the real problem is, move it accordingly. We do not have the resources to do that and, frankly, it is unrealistic. If anyone is knowledgeable enough to know AJAX, then they should be able to figure out if it is a javascript problem or an XML issue and post the topic in the respective forum.

Link to post
Share on other sites
Is it rocket scinece to advocate correct markup / code?
No, I just don't understand your analogies. I don't understand how teaching "bad habits" (which I'm not sure what you're referring to) to people wanting to build websites is connected to a rocket crashing in the Atlantic ocean. It turns out that learning how to write markup and designing a safe, efficient thermodynamic motor and control system aren't really the same thing.
The problem is that PHP is just too easy... It performs well, your clients are happy, and your users are spending money.
Not really sure what the problem is there.
Study that in detail.
No thanks, I would rather not create an account on forumnorway.com to read your enlightened insights.
As I have told n-times, I would have called the forum "Web applications"
Then you would have an incredibly broad forum. Anything with either Javascript or PHP can be considered a "web application".But clearly you aren't interested in having a discussion about this.
My last word on just that.I have no time to discuss that any more either.I will not discuss that any more either.
oooo k.. thanks for posting then. I guess we can consider this discussion closed.
Link to post
Share on other sites
Finally, and to make my point, a new category called "Web Applications" will simply decentralize topics and create a nightmare to administer. Any combination of any of the current technologies defined as topic categories would constitute a "Web Application". This would mean that any topic posted on the site could start in "Web Applications" and then when it is understood what the real problem is, move it accordingly. We do not have the resources to do that and, frankly, it is unrealistic. If anyone is knowledgeable enough to know AJAX, then they should be able to figure out if it is a javascript problem or an XML issue and post the topic in the respective forum.
I awaited that answer. Web 2.0 Applications.No time to discuss what Web 2.0 is about. Call it what you want for me. Web 2.0 hype if you want. Are we using Opera 1.0 still?Some relevant links related to Web 2.0.
Link to post
Share on other sites
No, I just don't understand your analogies.
Do you read my posts? Did you note my cite from the book by Bjørn Kirkerud? Was that about rocket science or programming? May be I require too much of you to read my posts (in connection).<digression>SE's use the same methods that are used by rocket scientists, eg. Bayesian Filteres like the Kalman and more generally the Masreliez filter.</digression>
We've already had this discussion on here, but "Web 1.0" and "Web 2.0" are not technologies. They are marketing terms. The only people who use the term "Web 2.0" to describe something are people who don't know how to describe the specific technologies, i.e. marketers.
No thanks, I would rather not create an account on forumnorway.com to read your enlightened insights.
:)
Link to post
Share on other sites
It almost looks as if you're saying we decide who's right and wrong. If so, you have this forum all wrong. We enforce rules and etiquette, not opinions.
:)
oooo k.. thanks for posting then. I guess we can consider this discussion closed.
Hopefully
Link to post
Share on other sites

Just wondering, kgun, do you have some sort of bot that inserts your digressions randomly? Because they seem to be fairly arbitrary. :)

Link to post
Share on other sites

web 2.0 is just a marketing buzz word jsut like AJAX. AJAX is not a technology but a combination of technologies. Web 2.0 is just a buzz word for a certain style/genre of website/application.

No time to discuss what Web 2.0 is about. Call it what you want for me. Web 2.0 hype if you want. Are we using Opera 1.0 still?
Your comments are "hit and run". you make statements then say you don't want to talk about it. And how does using newer version of browsers have anything to do with this discussion?
Link to post
Share on other sites
I awaited that answer....No time to discuss...
I'm closing this topic - I do not want anyone to get into the habit of enabling this type of behavior. @kgun - If you are going to post a topic or reply then commit to the conversation - your behavior, simply put, is borderline trolling.I hope to see you involve yourself more constructively in the future, but for now, this is as far as this thread needs to go.
Link to post
Share on other sites
Guest
This topic is now closed to further replies.
×
×
  • Create New...