Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   I must be an old-timer programmer... (https://www.warriorforum.com/programming/282426-i-must-old-timer-programmer.html)

Joseph Then 3rd November 2010 08:55 PM

I must be an old-timer programmer...
 
I have been a programmer since 2000 and I have done many types of programming (BASIC, ASP, JSP, Java, PHP).

It's fun for me. However, I feel that I'm an old-timer programmer.

You see, whenever I do a program, sometimes I need to:
1) Pop-up a window to complete a function
2) Go to another page to complete a function

For example, if I need to modify a text in a particular row, I need to pop-up a window to make the modifications.

But if you look at Wordpress, or even the latest web-based programs, you can actually have it as a "dropdown" from a row and modify the text and save it!

Well... how did you guys do that? Is that DHTML? Looks like it as I have done this last time and I thought that's obsolete...

Educate this old-time programmer. :D

AlTheGr8 3rd November 2010 09:04 PM

Re: I must be an old-timer programmer...
 
You are probably referring to AJAX which is basically JavaScript calling a server function and changing the page. You may look into that.
Good luck!

Eddieheli 4th November 2010 04:34 PM

Re: I must be an old-timer programmer...
 
Jquery is what you need.

Joseph Then 4th November 2010 10:35 PM

Re: I must be an old-timer programmer...
 
Quote:

Originally Posted by AlTheGr8 (Post 2818521)
You are probably referring to AJAX which is basically JavaScript calling a server function and changing the page. You may look into that.
Good luck!

Quote:

Originally Posted by Eddieheli (Post 2822609)
Jquery is what you need.

Cool, I must go and research on that. So do you mean that almost every programmers in this world are using a similar DHTML coding?

ereadergold 4th November 2010 10:42 PM

Re: I must be an old-timer programmer...
 
If "been a programmer since 2000" makes you an "old timer" then I shudder to think of what I am - I started with 8080 and 6800 Assembly Language in 1977!

From your description you must be talking about AJAX, one of the most inaccurate abbreviations around - the "X" was supposed to stand for XML but many designs make use of JSON instead!

Essentially you use JavaScript on the front end and another language (i.e. PHP, ASP, JSP etc) on the server side. Communications with the front end is performed asynchronously, and JavaScript is used to dynamically modify the DOM instead of refreshing pages.

The technique has actually been around since about 2002, but only in the last few years have the common web browsers supported it.

JQuery was mentioned, it does indeed have several functions to make AJAX implementation easy, as do other common JavaScript libraries like MooTools. If you are just starting I'd recommended learning how to implement AJAX with just straight JavaScript first, it will give you a much better foundation than using a code library like MooTools or JQuery.

Best of luck "old timer"!

Bill

Joseph Then 5th November 2010 12:14 AM

Re: I must be an old-timer programmer...
 
Ha ha ha.... I must clarify: Old-timer web programmer. :D

And yes I did try Assembly language where a group of friends on BBS were challenging on "who can make the smallest file size possible on fire animation" running on DOS! But I didn't win.

I searched on Google on AJAX and I find a lot of them. Where do you think I can start with? And where can I get this library?


Quote:

Originally Posted by mywebwork (Post 2823727)
If "been a programmer since 2000" makes you an "old timer" then I shudder to think of what I am - I started with 8080 and 6800 Assembly Language in 1977!

From your description you must be talking about AJAX, one of the most inaccurate abbreviations around - the "X" was supposed to stand for XML but many designs make use of JSON instead!

Essentially you use JavaScript on the front end and another language (i.e. PHP, ASP, JSP etc) on the server side. Communications with the front end is performed asynchronously, and JavaScript is used to dynamically modify the DOM instead of refreshing pages.

The technique has actually been around since about 2002, but only in the last few years have the common web browsers supported it.

JQuery was mentioned, it does indeed have several functions to make AJAX implementation easy, as do other common JavaScript libraries like MooTools. If you are just starting I'd recommended learning how to implement AJAX with just straight JavaScript first, it will give you a much better foundation than using a code library like MooTools or JQuery.

Best of luck "old timer"!

Bill


AlTheGr8 5th November 2010 09:58 AM

Re: I must be an old-timer programmer...
 
I would start here:
Ajax Quick Start FAQ - CodeProject
and here:
Ajax Tutorial for Beginners: Part 1 - CodeProject

Also, on the same site you will find more tutorials dealing with specific server technologies like PHP or ASP.NET.

Good luck!


All times are GMT -6. The time now is 01:26 PM.