Is Geblang a good alternative to PHP for web development?
Yes for APIs and server-rendered sites. The Gebweb framework provides controllers with route attributes, dependency injection, typed request binding, validation, Twig-style views, sessions and JWT authentication, CSRF protection, background jobs, and generated OpenAPI documentation, and the whole application deploys as one executable.
Does Geblang have real generics?
Yes. Generic classes and functions keep their type arguments at run time, so a Stack<int> rejects a string even when the value arrives untyped. In PHP, generics exist only in docblocks for static analysers.
How does a Geblang server handle concurrency compared with PHP-FPM?
A Geblang server is one long-running process. Requests are handled concurrently on goroutines, and state such as caches and connection pools stays in memory between requests instead of being rebuilt for each one.
Do I need nginx or PHP-FPM to run a Geblang site?
No. The HTTP server is part of the standard library and of the built executable, and it serves HTTPS directly, including automatic certificates. You can still put a reverse proxy in front of it if your infrastructure uses one.
Can I use a database the way I use PDO?
Yes. The db module is a PDO-style wrapper with SQLite, PostgreSQL, and MySQL drivers, prepared statements, transactions, and streaming result sets.