Post Reply 
Useful readings to write your first filter
Dec. 05, 2008, 05:05 AM
Post: #7
RE: Useful readings to write your first filter
(Dec. 05, 2008 12:54 AM)lnminente Wrote:  .....
Updated: added "W3Schools" and "Help for newbies: First filters"
Would be nice a tutorial to explain how to debug our filters, my english is very poor to explain it formally. If sameone could write a few lines explaining:
Nope, I like your English just fine, thank you! Big Teeth I believe that what you type for the readers tells them that this Forum welcomes all Proxo users (or user-wannabe's), not just native English speakers. You're doin' fine, pal, don't worry about it. And believe it or not, after a few months with us, your English skills will start getting closer and closer to American/Canadian/British English, you can bet on it. (And don't hesitate to ask, publicly or privately, if you need an explanation for something that doesn't make sense, English language-wise.)

(Dec. 05, 2008 12:54 AM)lnminente Wrote:  First of all delete the cache, bypass proxomitron and reload the page.
Nearly every browser out there uses the WIMP paradigm, or Windows, Icons, Menus and Pointers. This is also known as The CUA, or Common User Interface. Obviously, the idea is to keep the learning curve down to a short time.

All of which means, that in a Windows program where refreshing the screen, or reloading the contents of a file, is necessary, then the usual and customary keystroke is defined as F5. Where there might be a cache involved, such as a web browser, then Ctrl-F5 is defined as the key combination to use for a full reload (or refresh) from the original source. In other words, it forces the browser to bypass the cache.

Now, since I am an unabashed IE user, I can not speak for any other browser. If some or all of them follow the CUA, then what I just wrote is correct, and it will save the user some time (not having to manually empty the cache). For those browsers that don't follow the "rules of the road", there are probably equivalent keystrokes that have the same effect - to bypass the cache without making the user empty it him or herself. It would behoove users to learn those keystrokes, especially in your troubleshooting scenarios.


(Dec. 05, 2008 12:54 AM)lnminente Wrote:  If the problem follows lets find it:

1-disable web filters to see if the problems are from them
-delete the cache and reload.

2-if the problem follows, if not go to step 4, it comes from the header filters. Now enable only outcoming headers.
-delete the cache and reload

3-if the problem follows, if not go to step 4, it comes from the incoming header filters.
-delete the cache and reload

4-enter in debug mode (Tick html debug info) from the log window
-delete the cache and reload the page
-see what filters worked in the log window
-disable some of them until the error dissapear....etc...
Here's the value of this (or any) Forum - we get to learn of different methods that arrive at the same goals. In this instance, I would go about it the opposite way..... I'd first turn off everything, and test to make sure that the browser can handle all of the input from the server. If not, then you haven't wasted valuable time on Proxo, when it's now clear that it isn't the problem to begin with.

Next, I use the log window to see which filters are firing, or not firing when I expect them to. This is quick, and lets me know if maybe I should use Multi or something. It's also the only way you're gonna learn what header filters were sent by the server, sorry to say. Only after this will I engage the dbug.. command to view the page as sent, and seen by Proxo. Now I can see, by name, which filters to disable if they are causing a problem. It's not often you'll find yourself disabling all the filters..... or at least, that's been my experience. Wink Otherwise, we'd reach the same conclusion at the end of the testing, but we arrived at it following different paths. Ain't it grand? Whistling

(Dec. 05, 2008 12:54 AM)lnminente Wrote:  (i will delete this post too i some days)
Don't you dare! Too many people are gonna get referred to this thread, and it would not look good if some of the posts refer to others that are missing. Pray

OK, I'm outta here for the night, ta-ta all!




Oddysey

I'm no longer in the rat race - the rats won't have me!
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Useful readings to write your first filter - Oddysey - Dec. 05, 2008 05:05 AM

Forum Jump: