• A Simple Forum
    38 replies, posted
Hi, I would like to introduce you to my new forum software project [URL="http://www.asimpleforum.co.uk/forum/"]http://www.asimpleforum.co.uk/forum/[/URL]. It is a 100% open source forum package built on some of the latest technologies such as MongoDB, PHP 5.4 and HTML5. The purpose of this project is to bring forums into the modern times and create a product that is developed by the community. I would love to hear peoples thoughts on this project and get some help with testing. I am also looking for contributors to the [URL="https://github.com/cjmarkham/asimpleforum"]github repository[/URL].
Why MongoDB over MySQL/MariaDB? You've cut out a large portion of the shared hosting market.
I do use MySql. MongoDB is used as a caching layer but it is optional. It reverts to disk caching if mongo isn't installed. I may be removing the disk caching option for something better at a later date.
Everything is fucked up except forum tab.
Sorry about that, forgot to deploy a fix. Should be fine now.
[QUOTE=cjmarkham;43928977]I do use MySql. MongoDB is used as a caching layer but it is optional. It reverts to disk caching if mongo isn't installed. I may be removing the disk caching option for something better at a later date.[/QUOTE] If you're only using it for caching why not memcached or redis or something? (just curious)
Memcached doesn't allow lookups by key which makes it hard when you have hashed data within key names. (EG: forums-{pagination_hash}). I haven't used Redis but it will be something I will be looking into.
Gonna try it out!
Other than some users having broken link avatars, I like it! I might loom around the github too.
Thanks for the comments. The missing avatars are due to there being no default avatar set for new users. Currently you will need to upload one on the [URL="http://www.asimpleforum.co.uk/forum/user/settings/"]settings page[/URL] in order to change that. I haven't been able to work on A Simple Forum for the past couple of weeks due to getting married next week but that will change shortly.
Oh, okay, righteous! Also awesome news, dude! Congrats!
On my netbook display, the documentation link wraps round when you scroll down and floats off the navigation bar
Its OK... You need to work on the scrolling within the title.
how is the query being counted? they look wrong
Yeh the links in the nav bar need to be resized on smaller displays so I will get to that one when I can. How do you men the queries look wrong? It uses doctrines logger to count how many have been ran.
how are you requesting the categories and forums?
Ah so you think the amount of queries being ran is too few? Most data is cached meaning the script only pings the database once for the data and then stores that data. If the data is already in the cache then it just reads it from there rather than pinging the database again. Data that changes all the time such as sessions and alerts isn't cached as the cache would be set and deleted constantly, thats where the 3 queries comes from.
why would you cache something that might be changed so frequently?
I said the data that changes frequently isn't cached. Data such as forums is cached because admin add those and they dont change that often.
[QUOTE=cjmarkham;44163631]I said the data that changes frequently isn't cached. Data such as forums is cached because admin add those and they dont change that often.[/QUOTE] Sorry, I meant for the recent topics. Don't you cache them too?
[QUOTE=jung3o;44163672]Sorry, I meant for the recent topics. Don't you cache them too?[/QUOTE] I think that's probably still worth caching. In a forum you've likely got people reading data a lot more frequently than creating it, and assuming the cost of writing to your cache and the cost of cache misses is low (which it should be unless you're using something stupid as a cache) you'll still see benefit from caching.
As @KmartSqrl said data doesn't get created as often as it is read. It's worth caching as much data as you can on a project such as this. Something like search results aren't cached because on a popular forum there could be thousands of unique searches a day which would create thousands of different cache objects clogging up the server memory. Recent topics are loaded on every page load (the ones that use the sidebar module) so it is more worthwhile to cache them. I may actually add the option for an admin to specify what is cached and what isn't (while maintaining default caching).
Looks nice in browser, not so good on my nexus 7 though: [url]http://imgur.com/tMvvqtY[/url]
Yeh, as I said the nav links will be smaller depending on the device used. Remember this is an early alpha product :P Also looking for people to help if anyone wants to fork the repo. Also it would be awesome for those of you that have a github account to give the project a little star :)
Did some work on the layout today. Mobile devices and other small/medium size devices should now display properly. This hasn't been deployed yet as I have reworked some of the database and haven't gotten around to changing the production database yet. Will let you know when that happens. I also added notifications so when you like someones post or mention them in a post they will be notified.
[QUOTE=cjmarkham;44188589]Did some work on the layout today. [b]Mobile devices and other small/medium size devices should [i]not[/i] display properly.[/b][/QUOTE] You're really selling this to me aren't ya buddy
Haha, thats what 30 hours without sleep does to you. Needless to say that should have said "now" [editline]10th March 2014[/editline] Just deployed the latest changes now so you can test how it looks on smaller devices :)
I have been thinking recently (today :P). I originally built A Simple Forum to be an innovator and bring forums into the modern age. Unfortunately I don't think that is going to happen with the current state of the forum. So I have decided to recode it and use NodeJS. This, coupled with tech such as Socket.io, would update the current forum trend and offer a real time experience. What do you think?
Well, I've been looking at this and I will be a bit bold and point you at [URL="http://creatorhuddle.com/projects/3"]CommunityHub[/URL] (if the description is a bit vague you can check the comments where KmartSqrl and I discuss some ideas that I plan on definitely implementing). It currently resides at [URL]https://github.com/CommunityHub[/URL] and is still in the forming phase (I'm trying to pin down the core interactions between different parts). Tell me what you think of it? Perhaps it's similar to what you thought of? I wouldn't mind working with someone on such a project since it can be quite a lot. I'm telling you this since it seems that we had a similar idea.
Looks awesome, but... the flashing effect on every page load is a serious turn-off for me. I find it very distracting.
Sorry, you need to Log In to post a reply to this thread.