Jump to content

Strife25

Active Members
  • Posts

    51
  • Joined

  • Last visited

Posts posted by Strife25

  1. XmlHttpRequest objects function the same exact way as any normal HTTP request does. Your problem is not with the difference between XHR and HTTP Requests, it relates to the actual request itself.

    The problem you are hitting is how exactly does data get passed in GET Request to a server as opposed to a POST.

    There is a big difference between the two:

    GET Requests:

    -request parameters are sent inside of the request URI as a key-value pair after the query symbol (?), e.g. /resource?foo=bar

    POST Requests:

    -request parameters are sent in the body of the HTTP request (which the OP learned how to do in VB). In Java (the language I am most familiar with), the "request body" is sent in an HTTP Request as an "Entity" object, most often a StringEntity.

  2. Hi r4v37t,

    I can definitely help you with your problem, but I am really confused as to what exactly you are trying to do with your page. Saying "I want to use ajax when a user clicks on a link" can mean a TON of different events occurring.

    Looking at your steps, it seems like a really difficult problem (i.e. i am unsure if a browser allows this) being able to travel from page #3 directly back to page #1. The only way i can think this can work from a user experience perspective is by controlling the entire UI every step of the way. By controlling the UI, you can provide a link in the page for the user to click to jump back to page #1 no matter where they are in the site. If you do not control the UI of page #3, then you are out of luck.

    If this is not how i should have interpreted your steps, please clarify a bit more as to what you are trying to do?

  3. np!

    Two great resources for CSS development are www.alistapart.com and www.css-tricks.com

    Also, when you are making the site, first develop it for Firefox and/or webkit/safari/firefox, THEN make it compatible with IE7 and Opera. This way, you will make a standards-compliant site that will handle future versions of IE.

    Some tools that will help you along the way:

    -Firebug and Web Developer Toolbar (FF extensions)

    -DebugBar (IE Extension)

    -IETester (have multiple versions of IE installed)

    -Stylizer (live CSS editing for IE)

  4. Honestly, I would recommend you redesign the site to not use framesets, not only will you most likely solve the issue you have, but you will learn some great and necessary skills for creating a CSS layout.

    a great article explaining why ou should NOT use framesets:

    http://developers.evrsoft.com/articles/why...se_frames.shtml

    Also, if you search around the internet, you can find pre-defined CSS layout templates that are cross-browser compatible and will help the transition.

  5. read the w3c tutorials on javascript, create a web page with javascript functionality.

    Here are some links:

    http://www.hunlock.com/blogs/Essential_Jav...script_Tutorial

    http://www.w3schools.com/JS/default.asp

    Must watch videos:

    http://video.google.com/videoplay?docid=-7...mp;q=john+resig

    http://video.google.com/videosearch?q=alex...0dojo&emb=0

    Once you understand the standard functionality of how to use javascript, start to learn a framework if you are most interested in web development. With so many cross-browser problems, the frameworks help simplify development exponentially. For example, creating an AJAX call is normally ~20-30 lines of code just to grab a line of text from the server. With a framework, the AJAX changes into one method call to place the data into an object.

    Some of the most popular ones are:

    dojo

    jquery

    srip.tac.u.lous

    prototype

    Hope this helps.

  6. gcc should already be installed on your computer. To start out, make a file in your text editor of choice and save it as "yourChoiceOfName.cpp".

    Now go to the command line, go to the directory of the file you creates. Now type:

    gcc yourChoiceOfName.cpp

    then run the file that was created in that file with ./fileName

    Hope that helps you get started.

    Basically gcc is a compiler to convert your code into machine language. You need this for c/c++ development. If you are interested in using an IDE for development, there is an Eclipse IDE package that is used for C++ development, as well as other choices like Kdevelop. I personally like eclipse though

  7. If you are stuck on ideas for first projects, look at screen scraping a site. For example, if you want to be able to quickly grab your bank balance from the command line, you can create a screen scraping to log you into the stie then parse through the html to find the html node that contains your bank balance.

    http://www.perl.com/pub/a/2003/01/22/mechanize.html

    Just for note though, there are definitely security concerns with this type of script, so be aware of what you would be getting into making a script that logs you into a banking website.

  8. Eclipse is also good for java development and is plug in based, so it allows you to download plugins that allow you to develop and have an IDE for other languages, like PHP, J2EE, or C++. Although the php IDE is ok imo, and the C++ one requires cygwin.

  9. Hi Everyone,

    I thought that this might be a fun little rank to play on your developer friends who use the Eclipse IDE. Basically, we want to start the application in mirror mode from the user's normal shortcut on their desktop. This can only be done is the user has set up a GUI shortcut for the application and does not normally boot it from the console.

    So when you start eclipse with the following argument:

    Windows: eclipse.exe -dir rtl

    Linux: ./eclipse -dir rtl

    It will start eclipse in right-to-left mode to let users who use Arabic or Hebrew for their language to be readable. But using it this way just flips the GUI the other way with english still as the language. If you set up the user's normal GUI shortcut with the -dir rtl argument, eclipse will always boot up in mirror mode.

    A simple prank, but confusing people tends to always bring some sort of fun. :)

×
×
  • Create New...