IguanaCMS - The first ever CMS written in FreeBasic

User projects written in or related to FreeBASIC.
Julcar
Posts: 141
Joined: Oct 19, 2010 18:52
Contact:

IguanaCMS - The first ever CMS written in FreeBasic

Post by Julcar »

***UPDATE*** 2021/10/01
I've just launched the official project website, you can visit it here http://iguanacms.site/
Now the project main repo for the project is here: http://chiselapp.com/user/julcar/reposi ... naCMS/home

Testing site: https://reactos.org.es

I'm glad to see how much the project has been growth, even with the little spare time I have, this one-men work is getting more and more bigger.

Hi buddies, I am glad to present IguanaCMS to the whole community, it's my first big project since I learned FreeBasic in 2012... It is a CGI application that works as CMS written purely in FreeBasic.

It implements:
  • A full JSON parser & generator
  • A modular system based on modules and libraries
  • A recursive templater reader & parser
  • Works either on Windows and Linux hosts
Still is in intensive work, but now I can say it is more robust and usable, templates needs still better design, that is coming soon.
Last edited by Julcar on Oct 01, 2021 0:21, edited 4 times in total.
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Tourist Trap »

Seems appealing. What is a CMS about?
Julcar
Posts: 141
Joined: Oct 19, 2010 18:52
Contact:

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Julcar »

Tourist Trap wrote:Seems appealing. What is a CMS about?
Examples of CMS are Drupal and Joomla, and my project takes a bit of both
St_W
Posts: 1619
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by St_W »

mhm, the code looks rather dated:
Julcar wrote:'Compile it with FreeBasic 0.24 beta
[...]
OPTION EXPLICIT
Version 0.24 is already quite old (and a beta release is probably even worse).
Option Explicit indicates that you are using an old compiler dialect like lang fblite or even lang qb.
caseih
Posts: 2157
Joined: Feb 26, 2007 5:32

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by caseih »

Yes he said he was using the QB dialect.

In my experience it's not that hard to port QB or FBlite dialect code to modern FB.
Julcar
Posts: 141
Joined: Oct 19, 2010 18:52
Contact:

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Julcar »

caseih wrote:Yes he said he was using the QB dialect.

In my experience it's not that hard to port QB or FBlite dialect code to modern FB.
Yes, in the future I will do a modern FB port, but, by the moment is enough for me the QB dialect, because can be the base to port the application to others BASIC dialects, in fact I started this stuff writing it in FB, in 2014 I decided to change from FB compiled to ChipMunkBasic interpreted, but in this year I took the definitively decision to stay in QB dialect and compiled in FreeBasic.
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by MrSwiss »

Julcar wrote:in this year I took the definitively decision to stay in QB dialect and compiled in FreeBasic.
I've, even in "the old days", hated ONE thing about BASIC:
- Dollars and Ampersands etc. to define Variable Types
- having to set Option Explicit every time
Luckily this "old fashioned/stone age" stuff has disappeared in lang "FB" :
- Explicit is mandatory (default) ...

Therefore, I'm out of this thread!
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Tourist Trap »

Julcar wrote:
Tourist Trap wrote:Seems appealing. What is a CMS about?
Examples of CMS are Drupal and Joomla, and my project takes a bit of both
I have heard those names before but never managed to figure out what is was about. Whatever I've downloaded your project and will compile it as far as I will manage to close my running programming tabs (don't want them to crash! who knows?)

About this affair about QB, freebasic can run under 4 modes, fb, fblite, qb, and the deprecated. So since your strategy of development relies on QB, seems to me you are using the tool that fits. Whatever, if you program the core in QB, this wouldn't mean you would have to stick at it for ever for further dependancies. Freebasic proved to be able to interface well even with C to some extends so really I don't see any fault. Thanks again for sharing.
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by MrSwiss »

Tourist Trap wrote:I have heard those names before but never managed to figure out what is was about.
Simply:
CMS = content management system
usually run on a:
Web-Server
with (almost always):
a Data-Base-System --> Back End
mostly written in:
PHP / Java Script
There are of course other, current languages (FB / C++ / Java etc.) used also ...
Julcar
Posts: 141
Joined: Oct 19, 2010 18:52
Contact:

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Julcar »

Tourist Trap wrote:
Julcar wrote:
Tourist Trap wrote:Seems appealing. What is a CMS about?
Examples of CMS are Drupal and Joomla, and my project takes a bit of both
I have heard those names before but never managed to figure out what is was about. Whatever I've downloaded your project and will compile it as far as I will manage to close my running programming tabs (don't want them to crash! who knows?)

About this affair about QB, freebasic can run under 4 modes, fb, fblite, qb, and the deprecated. So since your strategy of development relies on QB, seems to me you are using the tool that fits. Whatever, if you program the core in QB, this wouldn't mean you would have to stick at it for ever for further dependancies. Freebasic proved to be able to interface well even with C to some extends so really I don't see any fault. Thanks again for sharing.
exactly, I use the dialect which I feel more comfortable, and that is QB, but the door is not closed to others dialects
Julcar
Posts: 141
Joined: Oct 19, 2010 18:52
Contact:

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Julcar »

New version released: 0.0.5-alpha, I would appreciate any feedback.
Cretin Ho
Posts: 182
Joined: Feb 04, 2021 13:01

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Cretin Ho »

How to use this?
Julcar
Posts: 141
Joined: Oct 19, 2010 18:52
Contact:

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Julcar »

Cretin Ho wrote:How to use this?
You need a webserver (apache, lighttpd, hiwata) and a web browser, and you're done!
just compile the project (by the moment only windows compilation is guaranteed to work), place the index.exe file in your webserver's root, and copy data/ and templates/ to a upper level than the index.exe location.
If you can edit your hosts file, create an entry that points example.com to 127.0.0.1, or if you just want to use localhost as hostname, edit data/settings.json to change site_url variable.
Cretin Ho
Posts: 182
Joined: Feb 04, 2021 13:01

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Cretin Ho »

Unfortunately I'm on Linux. Could you put more love on the Linux target?
Julcar
Posts: 141
Joined: Oct 19, 2010 18:52
Contact:

Re: IguanaCMS - The first ever CMS written in FreeBasic

Post by Julcar »

Cretin Ho wrote:Unfortunately I'm on Linux. Could you put more love on the Linux target?
This commit should allow to compile in linux:
http://chiselapp.com/user/julcar/reposi ... 1ee967f17a

I still have pending to implement a few things in linux target, as socket functions for email sending, also I am on the work of implementing a SSL layer for OAuth and DKIM signatures in emails.
Post Reply