Hello everyone.
This post will contain an amount of personal feelings within it.
I'm not a very experienced/skilled programmer, and my main 'background', if i can call it so is in windows forms applications (Visual C++, C#), where conceptually speaking, everything is driven by events, the only possible difficulties arriving from the implementation of a specific algorithm to serve the purposes of the program.
Don't ask me why (long story), i have now to build up from scratch a chat-based application in PHP/JS/HTML/MySQL/Web Stuff. Nobody has told me how it should look, but it would best serve its purpose if it looked similar to Meebo, except that it wouldn't serve as a multi-platform login tool (yahoo, msn etc), but it would have its own account list/service.
Now, i know a teeny bit of PHP, HTML and i'm comfortable with the classic send page/postback involved by PHP. The problem is, for the moment, in my mind web programming is a dreadful spaghetti-like mix of procedural PHP with OOP PHP, sometimes intermingled with HTML, and all mixed up with convoluted, overgrown, (add more epithets here), JAVASCRIPT.
Meebo has cool windows. And we know they're made with javascript. But not raw javascript. Oh no no, but libraries, constructed over javascript with their own rules and syntax ! This is the most appaling thing - what should i choose, why, and how should i use it ? Dojo, JQuery, Prototype, script-a-licious (or however it's called).
When i read 'classic code', like C/C++, C#, PHP, it looks all-so-clear, and it has a clear flow of execution. Javascript drives me nuts. It looks just as someone would have randomly put bits of code here and here, import them all around, use weird functions like $( some variables). First of all, could somebody point me to some decent, be it long, Javascript tutorial ? (And don't tell me W3CSChools, the first 12 lessons there are about how to use for() and if () ) . My main problem here is that i have a serious difficulty in conceptualizing Javascript.
On to the chat application. I need a JS framework which will offer be the possibility to create "Windows-like" windows within a page, and to modify me to suit my needs. (Make a buddy list, a chat window, with the possibility to react to specific events).
About AJAX - suprisingly, AJAX was easy to understand, though again, i have no idea how to use a framework's specific AJAX, only 'raw' ajax written by me. About PHP - that will come along, i see it much less horrifying. CSS? It's just design.
Jasvascript, that's the real deal of obfuscation in web programming.
Sorry for the length of the post, i probably let myself go too much but i really need help here. True, i haven't studied enough, but i'm kind of demotivated right now.
Thank you for your understanding !