Self-Healing Website

This forum is for the discussion of technology, computers, & problems relating to the web and your computer

Moderator: Scott Danziger

Allen M.

Self-Healing Website

Post by Allen M. »

Chuck,

Tell me about never-ending projects. Websites are getting too big and too complicated anymore for one person to manage properly; mine has been evolving again since last December into a nugget of code that will never have to be updated by human intervention again. Just add an item or two into a database, press the enter key, and “POOF!”

What I’ve done already is to design and implement a program in C++ (I think you asked me about language preferences, Chuck) that searches an mdp DAO database and automatically writes the Lynx-O-Dex 70-or-so some-odd pages of that segment of my website (dojo lynx), making decisions on what to write and how to write it from only street address information without any other clues. Also, I am building a library of page designs for my website that will cause any or all the pages to completely change appearance, maybe let the user decide how he wants to look at the page, type of background, colors, everything.

That was phase One, and the Lynx-O-Dex part should be up on my site by the end of today. Phase Two will be to have the C++ program write a Java application such that the Java program will write the webpage on the fly and there will be NO webpage per se, but the will be smart enough to send ONLY the data to the PC of the person requesting the link and again “POOF!”, only this time the webpage is build on the viewers PC on demand. Phase Two will sort everything and anything desired upon demand, but has some nasty bugs right now that need to be worked out

Phase Three will be to fold my entire website into a very small database; a compressed hot little nugget with a built-in automatic spell-checker.


------------------
Allen, New website http://www.ury2k.com/pulse/index.htm mirror: http://home.ici.net/~uechi/
Allen M.

Self-Healing Website

Post by Allen M. »

Number of issues.

One: Security. That means that you can’t uses Javascript because there’s no security with that; the code an the output of your database sits right on a webpage in plain sight (site?).

Two: Usefulness. The code was written for a special application. All that you will see on the web when I finish the first pass at it is the output that the program generated, a neatly formatted HTML page. For a database, I am hopping along with a comma-delimited list just to get it up and running. The app POOFs the html code into a frame setup. For the application, frames work best. Next week will have an expanding/collapsing menu. Data is massaged in the app before it is POOFed. Can’t sort on the net like you can if it was in Java.

Three: What you just wrote about in your post, I would do it in either Java or J++, primarily for SECURITY reasons. J++ is/can be portable to Java if you are careful, but Sun has Swing which is coup-de-grace. There are TONS of books out there, and roll your shirtsleeves up and have at it.

The only reason that I chose C++ over J++ is that I can pump-out code as fast as I can think of the solutions to what I need to do without thinking of the language. If you don’t know either and are going to embark on a course with one of them, pick J++, because you can’t get in as much trouble as fast (There are NO pointers in J++, a biggie), and the book “Active Visual J++” by Ladd, complete with a tutorial CD is an excellent resource for someone starting at point a in the language. Plenty of examples and you may even find something in the book that you can use.

Uechi class starts here at 6:30 this evening, and if I quit chatting now, I’ll put up whatever I have completed if it is in somewhat of a working order for your parusal by then.


------------------
Allen, New website http://www.ury2k.com/pulse/index.htm mirror: http://home.ici.net/~uechi/
<hr>
UPDATE: Done; complete. Looks clean and works nicely as a subsystem. Need to adjust the links on the remaining pages which call the Lynx-O-Dex, then I can reload the affected pages plus the new Lynx-O-Dex pages in one swell fwoop.

[This message has been edited by Allen M. (edited April 02, 2000).]
Dakkon
Posts: 332
Joined: Sat Oct 24, 1998 6:01 am
Location: Fl.
Contact:

Self-Healing Website

Post by Dakkon »

Allen,
If you get that working your are the man!!!
I have 50pages that if I could manage off a data base would be easier. They are kind of like your Lynx-O-Dex. 50 states and the releated rescue groups for Huskies in each state. I'm working on populating it but 50 states with atleast 1 group in each state GROAN, updates as you know are a PAIN IN THE BUT. I've thought about CSS but can't see it helpping. ASP would work but I'm limited to free web hosting. I can have Front page Extensions but not sure on frontpage because of security. I'm also trying to keep it workable in Web-TV ewwwww that's a story in it self. Oh well time to try and finish 5 more pages Image
Cheers,
Chuck
Allen M.

Self-Healing Website

Post by Allen M. »

Chuck,

As I write this post, WS_FTP is posting my latest Lynx-O-Dex (formerly called Dennis' Kool Lynx or Hot Lynx), or list of Uechi-ryu dojo worldwide. That part of my site is not complete as I've got some exciting graphics that I want to design into it plus open the list to all the dojo I have in my mailing lists.


------------------
Allen, New website http://www.ury2k.com/pulse/index.htm mirror: http://home.ici.net/~uechi/
Dakkon
Posts: 332
Joined: Sat Oct 24, 1998 6:01 am
Location: Fl.
Contact:

Self-Healing Website

Post by Dakkon »

Allen,
Just checked out your mirror site.
Very nice! and fast.
Regardless of RR slowness.
Looks good!

Chuck
Allen M.

Self-Healing Website

Post by Allen M. »

The mirror site is the old site and is going away, while the dojo links on the ury2k site displays the results of the code developed over the weekend. Still a bug in it, but then ther's next weekend.

Slowness of RR?

------------------
Allen, Home: http://www.ury2k.com/pulse/index.htm mirror: http://home.ici.net/~uechi/
Dakkon
Posts: 332
Joined: Sat Oct 24, 1998 6:01 am
Location: Fl.
Contact:

Self-Healing Website

Post by Dakkon »

Allen,
You have a java script i'd like to use!
Not sure of the name but i'm betting it's called hideme.js Image
It's the script to kill the right click on a webpage. I've only been able to stop IE users from right clicking netscape had full run Image You killed both !! YEAHHH!!!!!!!!!
What ever script it is i'd like to use it!
please please please oh please Image Image Image
I'm not a good begger haha
Thanks,
Chuck
Allen M.

Self-Healing Website

Post by Allen M. »

Pretty neat, huh? You can do some pretty cool stuff with javascript. Image It's yours. I'll get it tonight for you.

------------------
Allen, Home: http://www.ury2k.com/ mirror: http://home.ici.net/~uechi/
Allen M.

Self-Healing Website

Post by Allen M. »

Hello Chuck.

I assume you know how to set it up? If not, we can go thru it right here.

Here's the script:

var message="Function Disabled";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;



------------------
Allen, Home: http://www.ury2k.com/ mirror: http://home.ici.net/~uechi/
Dakkon
Posts: 332
Joined: Sat Oct 24, 1998 6:01 am
Location: Fl.
Contact:

Self-Healing Website

Post by Dakkon »

Thanks Allen!
I'll mess with it friday afternoon.
Just a quick question before I start into it.
I cut and paste the above code directly in to the document?
Or compile it and call it from with in the doc.
It's late and i'm beat plus I have to start a new j o b in the morning. hehehe hope i don't sound to clue less Image Image
hahahahahaha
chuck
Allen M.

Self-Healing Website

Post by Allen M. »

JOB? Good luck with it. I'm finishing mine in about a month, just in time to enjoy the spring.
<hr>
Take the javascript text above, and place it into a file, say hideme.js in the same directory as the file that calls the script. Anywhere inside the head of the HTML file you wish to hide, place the call to the script in the following manner:

< S C R I P T LANGUAGE="JavaScript" SRC="hideme.js" < / S C R I P T >

Write SCRIPT without the spaces.

<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
The code keeps disappearing. When I get home, I'll write something you can link to.
</pre><HR></BLOCKQUOTE>
Else you can drop the whole thing inbetween the script tags in the HTML file itself.

That’s all you need to do; no compilation, no muss, no fuss.


------------------
Allen, Home: http://www.ury2k.com/ mirror: http://home.ici.net/~uechi/

[This message has been edited by Allen M. (edited April 14, 2000).]
Dakkon
Posts: 332
Joined: Sat Oct 24, 1998 6:01 am
Location: Fl.
Contact:

Self-Healing Website

Post by Dakkon »

Thanks Allen,
Yeah Wasn't going to start till monday but they figured better to get me in today and start me. Fun Job Desktop/Hardware support.

Chuck
Allen M.

Self-Healing Website

Post by Allen M. »

Just got home.

Let me write a webpage for you in a few minutes

------------------
Allen, Home: http://www.ury2k.com/ mirror: http://home.ici.net/~uechi/
Allen M.

Self-Healing Website

Post by Allen M. »

Sorry it took so long, Dennis called me from London a few minutes ago.

Either unzip the file on the spot or download it.
http://www.ury2k.com/stuff/_hideme.zip

------------------
Allen, Home: http://www.ury2k.com/ mirror: http://home.ici.net/~uechi/
Dakkon
Posts: 332
Joined: Sat Oct 24, 1998 6:01 am
Location: Fl.
Contact:

Self-Healing Website

Post by Dakkon »

Thanks again Allen!
BTW here is the latest gossip.
<a href="http://www.idg.net/idgns/2000/04/14/MSB ... Micro$ofts "secret" backdoor on ALL servers ;-)</a>
Post Reply

Return to “Computer & Web Tech Help”