Use F3 Framework without database

71 views
Skip to first unread message

Shahzad Buckstec

unread,
Jun 7, 2018, 2:27:39 PM6/7/18
to Fat-Free Framework
Is it possible to use F3 Framework without database?

My scenario:

I want to built couple of advertisement websites, these websites data will comes from api and that api is designed in other server i.e banners, blogs comes from api and I will show them on my f3 website.

Pls suggest!

Thank you

ikkez

unread,
Jun 7, 2018, 3:40:13 PM6/7/18
to Fat-Free Framework
yes, sure. :)

Shahzad Buckstec

unread,
Jun 7, 2018, 7:44:57 PM6/7/18
to Fat-Free Framework
Is there any working blog type application for version 3.6?

Nuwanda

unread,
Jun 8, 2018, 3:50:48 AM6/8/18
to Fat-Free Framework
In case you're confused, F3 has no requirement that you use a database. That is, it doesn't rely on any database to function. None of it's functionality needs a db.

I have a site using F3 that simply queries a Yahoo API and returns the results to the user: http://woeid.rosselliot.co.nz/

All you need to do is grab the data and create a view to display it.

ikkez

unread,
Jun 8, 2018, 5:07:27 AM6/8/18
to Fat-Free Framework
nice try @Nuwanda but I can see it's a CodeIgniter site ;)

@Shahzad: here is a little Blog demo script from me https://github.com/ikkez/fabulog/ but there are more available

Nuwanda

unread,
Jun 8, 2018, 5:51:04 PM6/8/18
to Fat-Free Framework
Well, I'm embarrassed. The site is being rebuilt in F3 and hasn't gone live yet. I got ahead of myself. One shouldn't post with too much enthusiasm when drinking wine.

That said, the F3 version has considerably less code and is faster. I'll report back when it goes live so I don't look like a complete idiot.
Reply all
Reply to author
Forward
0 new messages