State of the CCMock
November 10th, 2005
So last hour was ‘Operating System Concepts with Java’. The book might be ok, the professor IS NOT. Wishy-washy and an incompetent teacher. Three lecture periods spent on Sephamores, which are not actually in Java, and there is a reason for that…
Long way of saying I have been working on the backend of CCMock. Figuring out MySQL queries, PHP processing, XML formatting - striking down the idea of on-server POST and GET for browsers that don’t use javascript (and other reasons).
Here is the one piece of client side work I did on it today.
<script type="text/javascript">
window.onload = function(){
if (window.XMLHttpRequest)
document.forms[0].javascript.value = “w3c”;
else if (window.ActiveXObject)
document.forms[0].javascript.value = “ie”;
else
document.forms[0].javascript.value = “true”;
}
</script>
And somwhere later in a form…
<input type="hidden" name="javascript" id="javascript" value="false" />
-Sud.
EDIT: Since someone Googled my mispelling, a Semaphore is a structure, a counter of sorts, that lets the threads of a program know if they can access a certain ‘critical secton’ of code.
Posted in TFHCC / CCMock |