Tunar + Tunar Discussion Environment
Wow, I just remembered I still have a blog! And that I haven’t posted since June 17th! Time for some updates…
Me
I’ve graduated from Dutch ’secondary school’ / ‘high school’ and I’ll be studying computer science in September. I also went for a 8 days summer vacation with friends to Sunny Beach, Bulgaria. Great stuff. My MacBook Pro is doing great aswell and I might buy an iPhone 4 in September. On to the projects…
Tunar PHP framework
Jordan and me always wanted to write a decent framework in PHP, but it never really worked out between us two because of conflicts over system design. So, I started on my own, ‘Tunar-niggus’. Its a very barebony MVC framework with the usual View and Controller stuff, URL routing, input validation, but I skipped the ‘Model’ part in MVC. I never liked the bloated autoquery (SQL database) generators in framework such as CakePHP, so I didn’t went with that approach. However, UPDATE and INSERT queries are built on the fly (SQLDatabase->update()) and this works great. It also returns generated IDs for easy insertion of records. You still have to write your own SELECT queries, but I’ve always liked the freedom this gave you into using JOINs or functions such as MAX() etc. It also has caching wrappers for APC or a custom, lastresort, filecache. (serialize() / unserialize() approach)
Forum software
I’m developing this framework at the same time as I’m developing forum software from scratch, dubbed Tunar Discussion Environment (TDE for short). Forum software has always been challenging me. There are alot of solutions out of there, but there’s always room for improving and… unique features!
“You shouldn’t write your own forum software, there are timetested solutions available on the net!”
Well, yes, there sure are. You have vBulletin, Invision Power Board and even free products such as phpBB and MyBB. Still, they are not what I am looking for. And more important, I love designing, creating and testing new stuff, so why not develop my own software? A great example of how this can work out is shown at FOK!forum, the largest Dutch forum and one of the largest forums on the net. It runs on custom, nowhere-else-used forum software called Replique, written in PHP aswell. It is closed source and developed by a Dutch guy, who also uses it for his blog. Replique is vastly different from other forum systems, in features, namings, usage and all that stuff. And Replique is what inspired me to develop my own forum software, meaning I’m also incorporating a few of it’s ‘unique features’.
On to the progress…
- Breadcrumbing, can be hyperlinks (like index > [forumname] -> [topicname])
- Event codes, all notification messages have event/error codes like TDE_FORUMNOTFOUND and TDE_SESSION_EXPIRED, show up with their numerical representation to users
- Sessions, users can login and logout to their account, sessions are stored in the database and can be logged out remotely. Users can also attach a label/location to their sessions, such as ‘laptop’, ‘work’, etc. Sessions can optionally be locked to IPs, so they will invalidate automatically when used from a different IP than the address the session was started with
- User registration with email activation link
- Reset password with email reset link
- Forums and other frequently requested objects are cached for a while to eliminate the majority of the database queries
- Forum index with categories, forums, subforums, last posttime, amount of topics/posts etc
- Browse subforums + topics in forum, showing with title, poster, posticon, locked topics, stickied topics, etc
- Create topics in forums where you have posting rights
- Browsing topics and posting replies, postcount increments if the forum is configured this way (ability to have ‘Spamzilla’ forums)
- Topics and post have posticons, and moderators can set a ‘moderation note’ for a topic, like ‘Don’t post Facebook links to the people that you might know from Harry’s post, it will lead to a ban!’
- Basic BBcode implementation ([b], [i], [img], [url], [s], [center], etc), to be expanded with smilies and things such [quote]
- Edit your posts and calculate procentual difference between text
- View posthistory and profiles of users
- Session manager so users can see their open sessions, reset/delete/log them out, etc
In Tunar, application/business logic is completely separated from the presentation (HTML for example). So, Tunar is easy to skin/layout/template/theme. The default layout is, to complete my adoration for Replique… the default layout of FOK!forum, it’s dubbed ‘baggerlayout’ and soon it will be gone due to FOK! switching to a new type of layout. So, I’m having Bart replicate their current baggerlayout as much as possible. On first sight, Tunar Discussion Environment looks alot like a FOK! clone, hahaha.
Screenshots
Description below the image. If you can’t see the full image (I need a new WordPress theme…), then rightclick -> View Image, or whatever your browser wants you to do. ‘Iceberg’ is the name of my testing forum by the way.

Database

Forum index, categories and their forums

Login

Registration of new user

Browsing a forum

Browsing a topic (no real layout yet)

Adding a reply, also no real layout yet
Remember, these are just screenies of the current state in the current FOK! baggerlayout replica. It’s about the logic behind it…
Code
Three snippets of current code. The URL routing system works like: http://site.com/user/profile/1337… will route to a call to UserController::profile(1337) No need to write URL routing mappings (but I might make something to override this).
Plans
Tunar-niggus, the PHP framework, will probably be released under the GPL when it’s more mature. The forum software will be either used privately or sold in some way.
Wow, long post. Enjoy & leave your thoughts!


Omg! I love that layout!
First off, congrats on graduating Nils ^_^
and second, good luck with the projects.
TDE is looking and sounding pretty nice right now.
I look forward to seeing it when it’s finished.
Nice, forum software is a pretty big thing. Good progress.
My language (PT-BR)
Parabéns Nillus, Você é um grande programador
Eu tambem escrevi um forum e fico faltando partes .
Boa sorte com o Projeto !
Instead of looking for a new wordpress theme just try a lightbox/fancybox plugin
By the way: What application do you use under OSX to develop websites?
Yeah Florian I’ll deffo look for that, it’s pretty annoying right now.
I use Eclipse IDE (with PDT, aka PHP Development Tools) for this. Eclipse is cool as it runs on any platform + supports many languages and environments. I use the same Eclipse installation for both my Java and PHP work.
It would be awesome if you would use SVN to maintain your code.
Congrats and good luck Nils. I know it’ll come out well!
Just one thing, I think you should either base the forum script on your framework (when it’s done of course) or do one with your framework after. That way, if your framework and forum script come out good, people will think “Wow, that forum script is pretty nice, and it’s based on Tunar. I should probably try this Tunar”. It could give your framework more popularity.
1 more thing, where did you get the name “Tunar” from? It reminds me of fish (tuna).
Looks extremely nice and the code is extremely awesome, but, how are you creating the MVC framework? For example, Are you including all the files that belong to the Model in 1 file which then communicates with the Controller?
Anyways, hope you finish this.
Accident Videos…
If you need a good to watch funny accident videos then check out my site….
Great…
love your blog, http://www.blogstoday.co.uk/ViewBlog.aspx?BlogId=lB48JV193Yk1iKJ58E&sitecode=LAOI ,Thanks again….
Accident Videos…
If you want a good to watch funny accident videos then check out my site….
2011…
hey there and thank you for your information – I have certainly picked up something new from right here. I did however expertise several technical issues using this site, since I experienced to reload the web site lots of times previous to I could get …
http://www.eRealEstateLaJolla.com...
Search Ca homes for sale using our La Jolla and San Diego MLS real estate search. Receive email updates of Realtor listings with prices and blog for all your San Diego county real estate needs. Whether single-family houses, townhomes, luxury homes, bea…
Symptoms Of Low Vitamin D…
If you have been struggeling with sinus infections for a while you now how iritating it can be….
2011…
This is really interesting, You’re a very skilled blogger. I have joined your rss feed and look forward to seeking more of your fantastic post. Also, I have shared your web site in my social networks!…
2011…
What’s Happening i am new to this, I stumbled upon this I’ve found It absolutely helpful and it has aided me out loads. I hope to contribute & aid other users like its aided me. Good job….
2011…
I have recently started a blog, the info you offer on this web site has helped me greatly. Thank you for all of your time & work….
Excellent info on this blog…
I saw this really good post today….
dating site vancouver island…
Recent Blogroll Additions………
2011…
Hiya, I’m really glad I’ve found this information. Today bloggers publish just about gossips and net and this is actually annoying. A good web site with exciting content, this is what I need. Thanks for keeping this website, I will be visiting it. Do…
FHA renovation loan…
If you need a good FHA renovation loan then check out our website….
Gems form the internet…
[...]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[...]……
Great post by this blog owner…
This person talked about it in a better way…
Online Article……
[...]The information mentioned in the article are some of the best available [...]……
Websites you should visit…
[...]below you’ll find the link to some sites that we think you should visit[...]……
Blogs you should be reading…
[...]Here is a Great Blog You Might Find Interesting that we Encourage You[...]……
2011…
Those are yours alright! . We at least need to get these people stealing images to start blogging! They probably just did a image search and grabbed them. They look good though!…
Money Making Guide…
If you want a good to see good money making guide and want to know how to earn money on internet then check out my site….
2011…
We are a group of volunteers and opening a new scheme in our community. Your site offered us with valuable info to work on. You have done an impressive job and our entire community will be thankful to you….
2011…
I was recommended this web site by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my trouble. You are amazing! Thanks!…
2011…
Thank you for the good writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! However, how could we communicate?…
Blogs you should be reading…
[...]Here is a Great Blog You Might Find Interesting that we Encourage You[...]……
minecraft skins Thanks once writer for this online. I sure darling every bit of it….
Thanks once writer for this online. I sure darling every bit of it….
Recent Blogroll Additions……
[...]usually posts some very interesting stuff like this. If you’re new to this site[...]……
Blogs you should be reading…
[...]Here is a Great Blog You Might Find Interesting that we Encourage You[...]……
Sources…
[...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]……
Sites we Like……
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……
Check this out…
[...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……
liberty reserve Outstanding weblog here! Also your journal loads up ! What web throng are you using? Can I get your affiliate hyperlink to your web boniface? I pauperism my individual websites loaded up as fasting as yours
…
Outstanding weblog here! Also your journal loads up ! What web throng are you using? Can I get your affiliate hyperlink to your web boniface? I pauperism my individual websites loaded up as fasting as yours
…
Memory Foam Mattress Reviews The exemplar of these blogging engines and CMS platforms is the want of limitations and repose of manipulation that allows developers to implement deluxe cognition and ‘skin’ the place in much a way that with short endeav…
The exemplar of these blogging engines and CMS platforms is the want of limitations and repose of manipulation that allows developers to implement deluxe cognition and ‘skin’ the place in much a way that with short endeavour one would never mention wha…
Minecraft Texture Packs Oh my ! a article fop. Thanks Notwithstanding I am experiencing contend with ur rss . Don’t screw why Unable to take to it. Is there anybody exploit selfsame rss drawback? Anyone who knows respond. Thnkx…
Oh my ! a article fop. Thanks Notwithstanding I am experiencing contend with ur rss . Don’t screw why Unable to take to it. Is there anybody exploit selfsame rss drawback? Anyone who knows respond. Thnkx…
Related……
[...]just beneath, are numerous totally not related sites to ours, however, they are surely worth going over[...]……
Beta invites…
[..] free beta invites for all of your favorite communities, programs, games etc. [..]…
Online Article……
[...]The information mentioned in the article are some of the best available [...]……
Trial Xtreme 2 HD Apk Hi! I am to blogging and i really your cognition. The article has really peaks my part. I am accomplishment to marker your and cook checking for new accumulation….
Hi! I am to blogging and i really your cognition. The article has really peaks my part. I am accomplishment to marker your and cook checking for new accumulation….
Chicago Electric Power Tools…
I saw this really good post today….
Links…
[...]Sites of interest we have a link to[...]……
Check this out…
[...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……
Related……
[...]just beneath, are numerous totally not related sites to ours, however, they are surely worth going over[...]……
2011…
Thanks for the sensible critique. Me & my neighbor were just preparing to do a little research on this. We got a grab a book from our local library but I think I learned more from this post. I am very glad to see such fantastic information being shared…