[DEV] [PHP/OOP] mUserSystem
mUserSystem V1
PHP/OOP
What is mUserSystem?
Well, the answer is more-or-less in the question, it's a user system created by m0nsta./Mark Eriksson (hence the 'm' before 'UserSystem') which is coded in PHP and uses OOP, not procedural programming.
Is mUserSystem free?
Of course it is! I tend not to charge to create things like this, unless someone asks for it especially, then I add fees for my time taken and amount of code written.
What is so special about this than other user systems?
Honestly, nothing. I got bored and seen a lot of PHP developments around DevBest and decided to join in by creating my own development. I'm not asking you to use it, I'm just simply creating something that someone may like to use on their own site.
Why have you stolen Anon's layout to 'tBlogger'?
I haven't stolen any layout, I based the design off the same thing but didn't use exactly the same colours. But whatever, credits to Anon for this style of design!
When will it be released?
Your guess is as good as mine, I only started the design on this today. I will be working on the PHP classes over the next day or two and then I will be coding the actual system.
Not started
Started but not complete
Complete and works properly
- Log in
- Register
- Log out
- Post on users' walls
- Send private messages
- Edit account
- Edit settings
- Maybe add friends
- Theme/style changer
If I think of any more, I will add them here.
Are there any screen-shots of this?
Yes there are, below you will see a few screen-shots of the design and bits of the code as I build it up.
- Main design/content
- Theme/style changer
- Full screen view
That's all for now!
Thanks,
- m0nsta.
And here are some screen-shots of the code I have written today.
http://i40.tinypic.com/29mam9d.png
http://i40.tinypic.com/rrkvnt.png
http://i44.tinypic.com/la2vo.png
http://i42.tinypic.com/258xxz5.png
Re: [DEV] [PHP/OOP] mUserSystem
Re: [DEV] [PHP/OOP] mUserSystem
Looks and sounds very good, good luck Mark!
Re: [DEV] [PHP/OOP] mUserSystem
Quote:
Originally Posted by
holthelper
notepad++
Yes?
Quote:
Originally Posted by
Roper
Looks and sounds very good, good luck Mark!
And thanks! :)
Re: [DEV] [PHP/OOP] mUserSystem
Why noone uses the mysqli_ ???
Posted via Mobile Device
Re: [DEV] [PHP/OOP] mUserSystem
I learned to never use echo in a function... Meh.
Looks nice. Good luck.
Re: [DEV] [PHP/OOP] mUserSystem
Quote:
Originally Posted by
caja
Why noone uses the mysqli_ ???
Posted via Mobile Device
Because they (or the people they learned from) knew the mysql extension first and don't find reason or find the time to learn and use the mysql improved extension.
Quote:
Originally Posted by
Apixenz
I learned to never use echo in a function... Meh.
Looks nice. Good luck.
Never is a strong word. There's always a reason to do something- even if it's not a good reason. Someone might code a site insecure on purpose because their employer won't give them a raise or pay them for extra security- or the employer told the person to quit wasting time on security.
I'd say something like, 'you should never let the user put raw input inside ur query strings, and u should always use mysqli.' But that's so biased it's retarded. You should only do those things if your employer is paying you to do those things.
If somebody wants you to make a web app for under 100 bucks, best believe it: To speed up development, I'm going to use some procedural and OOP with echo in the methods. Do I know better? Of course! But there is a time when you need to code poorly.. 'Tis Sad but true.
Sometimes you just gotta get shit done- who wants to spend a month working on a $100 script? That's just wasting your knowledge on ripping yourself off and pissing off the person you told it would be done in a week.
I just got carried away, didn't I.. Apologies.
Good start Mark!
Edit:
Just for the record, I disagreed with the points in my above statement for a LONG time. Until this year, I didn't even think anyone thinking like that was worth any of my time. So I totally understand if you disagree. In an open source world, there's no reason for imperfections. But the world is not open source. It's a cold, cruel world with poor code coming from great coders- and I chose to adapt (and I always reserve the right to change my mind).
Re: [DEV] [PHP/OOP] mUserSystem
Quote:
Originally Posted by
s-p-n
Because they (or the people they learned from) knew the mysql extension first and don't find reason or find the time to learn and use the mysql improved extension.
Never is a strong word. There's always a reason to do something- even if it's not a good reason. Someone might code a site insecure on purpose because their employer won't give them a raise or pay them for extra security- or the employer told the person to quit wasting time on security.
I'd say something like, 'you should never let the user put raw input inside ur query strings, and u should always use mysqli.' But that's so biased it's retarded. You should only do those things if your employer is paying you to do those things.
If somebody wants you to make a web app for under 100 bucks, best believe it: To speed up development, I'm going to use some procedural and OOP with echo in the methods. Do I know better? Of course! But there is a time when you need to code poorly.. 'Tis Sad but true.
Sometimes you just gotta get shit done- who wants to spend a month working on a $100 script? That's just wasting your knowledge on ripping yourself off and pissing off the person you told it would be done in a week.
I just got carried away, didn't I.. Apologies.
Good start Mark!
Edit:
Just for the record, I disagreed with the points in my above statement for a LONG time. Until this year, I didn't even think anyone thinking like that was worth any of my time. So I totally understand if you disagree. In an open source world, there's no reason for imperfections. But the world is not open source. It's a cold, cruel world with poor code coming from great coders- and I chose to adapt (and I always reserve the right to change my mind).
Good way of putting it!
And thanks! :)
@caja - s-p-n has advised me to use MySQLi over MySQL but I had already started using MySQL and the script was already implemented into a few other files.
Re: [DEV] [PHP/OOP] mUserSystem
I really like your design :)