Magnie wrote:
TRocket wrote:
Magnie wrote:
Not sure. I think we should start to decide what we will use. Like a MySQL database, the programming language, etc.
i think MySQL with PHP JS AJAX(yes i know it's not a language) and HtML
Okay then, those work.
So these could be the files we'll need:index.php
post.php - Displays a post based on the ID entered (like: post.php?id=123)
login.php - Either displays a login, or opens the login page
logout.php
category.php or board.php
topic.php
profile.php
admin/admin.php
install/install.php
include/config.php
skins/default.css
skins/[username].cssThough that is obviously an incomplete list, so any suggestions?
User skins should be a php page where the contents of the css is echoed from the database
Offline
We can do nicer-looking URLs with URL rewriting, i.e.
/ -> index.php
/home -> index.php
/index -> index.php
/post/id -> post.php?id=id
/login -> login.php
/logout -> logout.php
/board/id -> board.php?id=id
/user/id -> profile.php?id=id
/admin -> admin.php
/install -> install.php
/skin/userID -> skin/userID.css
/css/file.css -> css/file.css
* -> error.php?e=404
There's no need for /topic/id because it's just a view on the first post
Offline
Magnie wrote:
TRocket wrote:
Magnie wrote:
Not sure. I think we should start to decide what we will use. Like a MySQL database, the programming language, etc.
i think MySQL with PHP JS AJAX(yes i know it's not a language) and HtML
Okay then, those work.
So these could be the files we'll need:index.php
post.php - Displays a post based on the ID entered (like: post.php?id=123)
login.php - Either displays a login, or opens the login page
logout.php
category.php or board.php
topic.php
profile.php
admin/admin.php
install/install.php
include/config.php
skins/default.css
skins/[username].cssThough that is obviously an incomplete list, so any suggestions?
We don't need post, category, or topic if we're using AJAX updating. Just change the #hash-url.
I'm going to make a mockup of the MySQL database we'll need, and link back to it.
And TRocket is correct; we just have PHP echo the user's skin from a database.
Offline
i thought of something.... "tags" ! you can type in key words in a box seperated by commas. then you can easily find topics about your favourite stuff by going to a tag search thing or sonething.
Offline
nathanprocks wrote:
i thought of something.... "tags" ! you can type in key words in a box seperated by commas. then you can easily find topics about your favourite stuff by going to a tag search thing or sonething.
Yeah, we were going to have post tagging.
Offline
scimonster wrote:
We don't need post, category, or topic if we're using AJAX updating. Just change the #hash-url.
I'm going to make a mockup of the MySQL database we'll need, and link back to it.
And TRocket is correct; we just have PHP echo the user's skin from a database.
I know we are using AJAX, post.php will echo the the info based on the ID given, like: post.php?id=123 will give the post info for post 123. topic.php will give a list of post IDs which the AJAX script will then ask for through post.php, etc.
How do you plan on getting post data other than through a php script?
Last edited by Magnie (2012-02-01 09:45:32)
Offline
Magnie wrote:
scimonster wrote:
We don't need post, category, or topic if we're using AJAX updating. Just change the #hash-url.
I'm going to make a mockup of the MySQL database we'll need, and link back to it.
And TRocket is correct; we just have PHP echo the user's skin from a database.I know we are using AJAX, post.php will echo the the info based on the ID given, like: post.php?id=123 will give the post info for post 123. topic.php will give a list of post IDs which the AJAX script will then ask for through post.php, etc.
How do you plan on getting post data other than through a php script?
Oh yeah; didn't think of that. XD
Offline
TRocket wrote:
this looks like a good idea... what do you guys think?
A database table idea:
TopicName|TopicID|TopicPoster|ImgOn|LinkOn|DblPostOn
Offline
Just a suggestion...
Why don't you use Ruby on Rails or another MVC framework (CakePHP,Zend etc.)
This might increase scalbility or make the development a bit easier.
This might help the ST support the idea.
Or even just use a premaid forums app (MyBB etc.) and work on tweaking it so it works with Scratch.
Anyway I'm happy to help whatever happens so if you need a PHP/RoR developer I can help.
Offline
logiblocs wrote:
Why don't you use Ruby on Rails or another MVC framework (CakePHP,Zend etc.)
This might increase scalbility or make the development a bit easier.
This might help the ST support the idea.
Absolutely agree! They write so much code for you.
I was suggesting Django — Python MVC web framework — but apparently more people know PHP...
Offline
blob8108 wrote:
logiblocs wrote:
Why don't you use Ruby on Rails or another MVC framework (CakePHP,Zend etc.)
This might increase scalbility or make the development a bit easier.
This might help the ST support the idea.Absolutely agree! They write so much code for you.
I was suggesting Django — Python MVC web framework — but apparently more people know PHP...
I would reccomend Rails as it has some nice tutorials abd handles some things like URL rewriting, and SQL quite nicely.
A good tutorial to understand the code would be railsforzombies.
I don't gave much experience with CakePHP but scratchr runs on it.
Offline
I only know basic PHP, not any other things.
Offline
I can't wait for the first demo!
Offline
Can I please help with the project. I know PHP, CSS, HTML, ruby and JavaScript.
My name on sourceforge is logiblocs, and I have a few ideas about what we can do with the project.
Last edited by logiblocs (2012-02-07 12:20:59)
Offline
logiblocs wrote:
Can I please help with the project. I know PHP, CSS, HTML, ruby and JavaScript.
My name on sourceforge is logiblocs, and I have a few ideas about what we can do with the project.
Ok
I will add you to the sourceforge page once sparks says you can help.
Do you have a SVN client? If so, please checkout our source.
Offline
Zeusking19 wrote:
logiblocs wrote:
Can I please help with the project. I know PHP, CSS, HTML, ruby and JavaScript.
My name on sourceforge is logiblocs, and I have a few ideas about what we can do with the project.Ok
I will add you to the sourceforge page once sparks says you can help.
Do you have a SVN client? If so, please checkout our source.
Thanks!
Yes I do have subversion, I'm using Linux
Offline
Offline
We're going to make the original installation as small as possible, right? That means saving space in the code we'll write.
Also, I recommend creating a forum using an existing forum system or two, and check out all the features, from a user's, mod's, and admin's point of view.
Offline
scimonster wrote:
We're going to make the original installation as small as possible, right? That means saving space in the code we'll write.
Also, I recommend creating a forum using an existing forum system or two, and check out all the features, from a user's, mod's, and admin's point of view.
not sure if we are trying to make it as small as possible
Offline
TRocket wrote:
scimonster wrote:
We're going to make the original installation as small as possible, right? That means saving space in the code we'll write.
Also, I recommend creating a forum using an existing forum system or two, and check out all the features, from a user's, mod's, and admin's point of view.not sure if we are trying to make it as small as possible
Well, why not? If we can save space, we might as well.
Offline
Ok then,
I will make a forum named ScratchBB playground, and all of the ScratchBB developers can be an admin so we can play around with the features, and get ideas.
I will edit when I have it up.
Offline