Jump to content


  • Posts

  • Joined

  • Last visited

About yoshida

  • Birthday 06/28/1982

Previous Fields

  • Languages
    (X)HTML (fairly much), CSS(dito), PHP/MySQL(novice), JavaScript (n00b)

Contact Methods

  • MSN
  • Website URL
  • ICQ

Profile Information

  • Location
    South of Heaven

yoshida's Achievements


Member (2/7)



  1. OK I seem to have 'solved' this. Windows 7 appears to have improved user authentication, so this line <authentication mode="Windows" /> which was referenced in the warning caused the f00k-up. I removed it.
  2. I'm learning ASP.net from a book, and I must say it's quite enjoyable and straightforward. Less of a hassle than PHP from what I've experienced.However I'm in day three of learning, and every next day I can't seem to run a previous project. Though I can start a new project and that'll run no problem.The software I'm using is Microsoft Visual Web Developer 2008 Express edition on Windows 7 build 7100. The warning I get is this one:X:\docs\project folder\project\chapter0203.aspx: ASP.NET runtime error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (X:\docs\project folder\project\web.config line 86)It's no doubt a minor serversided issue, like the project being in the wrong folder or a service that refuses to start. I didn't use the Search function because I lack sufficient experience to effectively use the right keywords (so don't nag about it!) and the outcome of this issue will greatly determine my motivation to learn this web language.Definite solutions only please, keep the guesstimation level to a plausible level. if anyone could help me out then that would be greatly appreciated.Thanks, Bram
  3. hmm... intended to store it as a set of files on the fileserver, but now it appears like I need to promote my machine to webserver and host it from there.The net - it's an option, but password protection will not enhance accesibility.The intranet - perhaps. Need to confirm it with IT and that involves the 'ok' from a bunch of other guys before I can even make a proof of concept.Still going with XML due to portability.
  4. Haha that sucksMust be for security reasons. How about PHP?
  5. I don't believe that. Doesn't XML have it's own DOM? From the W3Schools tutorial: Definitely. But that would imply dynamic communication between the browser and a server script and database. Any browsersided interface improvement is considered AJAX these days... such a shame.
  6. Hi, I want to build a CMS with XML as the database and ECMAscript (JS) as script language. In fact, what I want is use XSL and make an 'interactive layer' provided by Javascript.It doesn't seem to make sense, but please bare with me. I want to build a userfriendly intranet application without using a database such as MySQL or Oracle. We're talking 500 records max so an XML file will do just fine. It will be a listing of records, with one fixed background for each record and a style language to get all records in their required position. It will only have to work for IE but an easy milti-browser solution would be appreciated. In the most ideal case I can edit an entry when I click it, and batch-export all records to PDF.What kind of basic knowledge do I need? I can work with XML and understand the basic concepts of JS. I'd be most interested in understanding how I manipulate a XML file using JS, in such a way that the whole deal looks dynamic (no reloading and such). Would this mean I'd have to make each entry a block element with it's own autogenerated ID?Thanks in advance, have a good weekend.
  7. Sounds like a plan, but can't I let Javascript fetch the post info instead? Can it be used again by my PHP script?My javascript is in an external .js script.
  8. Hi folks, I'm facing a bit of a snag here.I'm making a CMS manpage to alter the content for my website. I divided the workload into chunks to keep it all manageable, so far I have template related database info, a news manpage, and a management page to add and alter 'html' pages.Each manpage is a form or a set of forms, which gets loaded into a DIV using the XmlHttpRequest (think 'AJAX'). So I have one index.html, and a menu decides which variable is used to load the related PHP script.I have the function that loads stuff check if a variable already exists, and if not it uses a default value. if (!serverPage) { var serverPage = 'tempmanpage.php'; } I tested this CMS manpage succesfully for the first script, tempmanpage.php (which manages information loaded for the template).When I use AJAX to load the script called defmanpage.php, the page to manage default HTML pages stored into the database, it shows as expected. I embedded a form with a dropdown menu to decide whether I want to create a new page or alter an existing one. A textarea is opened containing the HTML code for the page I want to alter or containing nothing at all if I want to create a new page. The action for this form is obviously index.html, because I want to reload my PHP script to create the textbox and fill it with the desired info. The problem is my javascript uses the default value (tempmanpage.php) and not the value for the last visited page (defmanpage.php).So the question is quite simple: I want my index.html to load a specific page when I click Submit. Is there any way to do so? Do I have to migrate my form from PHP to Javascript, and if so, what would be the best approach? I'm far more familiar with PHP than with Javascript.
  9. EDITMade it work. Just forgot the OR boolean is used like || and not |.Sample code removed.
  10. Here I am looking for the long way around...I thought of creating an array, and have it populate the page using a WHILE loop. But I bashed my head against the wall in stupidity after two lines of code.I used PHP for this one instead, opening the specified DIV, call <?php require_once('script.php') ?> and closed the DIV.It's the easiest way since it's a management page for my new CMS after all.
  11. This may be a stupid n00b question, but how do I call a javascript function without using an event trigger? I'd like to populate some divs with data, both the source data and the target divs defined by a parameter. That means I have to call the function, an XmlHttpRequest, multiple times.I'll search my library for answers, helpful suggestions are welcome in the meantime.
  12. Books called Javascript - the basics will only teach you the basics, how variables work, how to write and use functions, etc.Books like database-driven AJAX will assume you have basic JS knowledge, and will teach you how to use databases in combination with AJAX.Books like Bulletproof AJAX will assume you have basic AJAX knowledge. etc.I'd recommend doing a few online tutorials, but type rather than cut/paste to understand the importance of debugging and learn the most important keywords..Then, when you know what you want to do with it and would like to widen your knowledge, go out and buy a book about it. I actually own about 10 webprogramming/designing books, from basic XML to Bulletproof Ajax. I use six out of ten whenever designing a webpage.If you want to rely on books, I suggest you buy multiple books to learn and combine the best practices from all of them. Books improve on each other when used properly, and are a fair bit more professional and up-to-date than most tutorials you'll find online.Hope this helps.
  13. So then I'll have to propagate the parameter as a variable, and make index.php look for it. (index.php?serverPage=newspost071017)Then set var serverPage='<?php serverPage ?>'Not even going to ask whether it is possible, I'll simply try. And keep the results to myself. (jk )
  14. Hi. I'd like to create a button on my Ajax site which says 'add this page to your favorites'.It goes down like this: my links are event triggers which passes a parameter to the script. The page passed in the parameter gets loaded.Now the first lines look like this: function loadMainBody(serverPage) { if (!serverPage) { var serverPage = 'dummy.html'; } How do I add something to favs? Can I also store the event trigger and it's parameter?
  15. AJAX is a technology referred to when doing an asynchronous server request, and load that information into a div at client side. AJAX does not require server scripting. It only requires php scripting if you'd want to load information from a database. Everything else can be done using Javascript.Don't get me wrong: executing a XMLHttpRequest on a PHP script and load the result in a DIV has very powerful potential. But you're still using a div as if it were a unique browser window within a page.One thing to keep in mind is that posting a HTML form using PHP requires a Javascript function to dinamically load the handler message into your DIV, and post the data to the handler. In other words: ALL communications are to be handled using the AJAX approach, you can't get away with direct interaction with the PHP script.Don't hesitate to flame me in cold blood if I'm clearly wrong at any point; I'm still learning but these are the basics I firmly believe to be true and base my design concepts upon. If I'm wrong, you'd be doing me a favor by telling me.
  • Create New...