Conversation Between fadillzzz and Hall of Famer
Showing Visitor Messages 1 to 10 of 79
-
I understand, good luck to you dude, you've been a great help for the project during Mys v1.3.x's development. I will see what happens by the time I release Mys v1.3.3 though, you have about then to make a decision.
-
Sorry HoF. I've been getting really busy lately. I'm not sure when I can get back to work on Mys again. In fact, I think I might have to leave the project.
-
Hello there, how have you been?
-
Hi there Fadillzzz, how are you doing lately?
-
umm Python. I personally aint sure whether Python or PHP is easier, they both are quite suitable for beginners. I am definitely not the authority to say this since I started off with C++ syntax, which makes subsequent learning in PHP and Java more comfortable. I heard Python is going for fully object oriented transition now, so perhaps its good to look into it?
Well it was indeed a pain to get the user id if given a username, wasnt it? I believe in Mys v1.3.1 I've defined two functions in functions_users.php to convert uid to/from username. In Mys v1.3.2 a Member type object is created for each registered user, so retrieving uid should be a lot easier(although possibly more overhead XD).
-
Nevermind my last question. I got it already.
-
True. Though I think Python would be more suitable for beginners who want to get started programming right away. The fact that it uses tabs and spaces to define a block instead of using curly braces like PHP, C, or Java force beginners to write nicely indented code. The Python syntax itself is very clean and almost like English. So the programming language is very easy to learn because it's somewhat intuitive to a certain extent.
BTW, quick question. How would get I the user id of the currently logged in user? Do I have to read it from the cookie? Or is there a global variables like $loggedinname that I can use instead?
-
I see, so that's why you are more comfortable with PHP and Javascript, both are very flexible programming languages that do not enforce so many built-in rules on programmers. Instead, you can specify your own set of conventions for your own need. PHP is also quite easy for amateurs to get started, Ruby on the other hand may be too difficult for beginners. There's indeed a reason why certain programming languages are more popular than others.
Oh yeah, shes indeed been struggling with that. Right now we do have a problem with Mod/plugin system though. Whenever a new release is available, there's a chance that old plugins become incompatible with it. Another incentive to turn it into object-oriented reusable script Id say. XD
You have a good point. I actually believe CJAX will enable you to write much less code and organize stuff in a neater way. I will play around with it and see what I can get before going any further.
-
I see. Well you're entitled to your opinion. I personally don't like Java very much to due its strict policy on classes. But then again, almost every other programming languages suffer the same thing. Just like how I have to create the main() function in C, I have to write every algorithm inside functions which are then stored inside in a module in Erlang. Pretty much the same thing like Java. Where you have to write your code inside classes.
Yeah. I noticed that she's been having that issue for a while and I kind of feel bad for not helping her at all. That's why I offered her my help.
I see. I don't usually use an AJAX framework. I always stick with jQuery because usually when I need a framework, it's because I want to write less code. Not just because I want to take the pain of implementing a certain feature that is to be included in an application.
-
umm this... You are already thinking way up ahead arent you? I am not sure how PHP's development will go, they are indeed adding some really nice features though. The biggest problem with PHP is that it is still at its heart a procedural language with object supports. In fact I am more of a fan of class-based programming languages though, I have considered Java servlet and Ruby at times. NodeJS is the server-side javascript language, isnt it? I was wondering how javascript 2.0 comes along, it was said to have additions like classes and interfaces.
Ah thats so generous of you, must have seen the thread she made? About AJAX, well, I found a new php ajax framework that can be used as third party script similar to ckeditor we already have. It's called CJAX, used by Codeignitor and CakePHP. Unlike xAjax which is pretty much dead, CJAX is actually under active development.