# Hugonette

## PHP micro-framework for static pages

Hugonette is a fast and easy to use framework alternative to bring harmony and structure to your PHP code.&#x20;

When your web project is simple, you can use AI generator such as [Lovable](https://lovable.dev/) to build a landing page according to your needs. At the end of this process you can ask your AI to generate a static version of your page as .html, .css and .js files.

If your project is more complicated and you don't want to work with AI extensively, my proposition is to use [Hugo static site generator](https://gohugo.io) to build a design of your page and to provide all necessary user interactions. As a result, publish your static content.&#x20;

In both scenarios the end product is a static web content - a template. When you wish something more, beginning with small contact form, any data presented dynamically on your page, ending with complex application, you will want to use Hugonette.

Now, with a help of [Latte template engine](https://latte.nette.org/en/), your content is not static anymore. It's a `View` component of the Hugonette project. You will debug your PHP application with the help of [Tracy](https://tracy.nette.org/), another great tool from the Nette framework.

### Technologies

Hugonette runs on PHP version 8.2 or higher. See the [Hugonette GitHub project](https://github.com/Andygrond/hugonette).

[Lovable](https://lovable.dev/) is an AI www content generator which has a free plan.

[Hugo static site generator](https://gohugo.io) is one of the favorite tools for preparing page design and dynamic elements. Its advantage is a really fast response to change during development. Simply set your browser to localhost:1313 and when you save changes to any file in your project, you see results immediately on your browser. After debugging, Hugo generates a static site, where all files are ready exactly as you see them while browsing.

[Nette Web Framework](https://nette.org/en/) is a flexible, feature-rich, modular PHP framework. Hugonette is a little friend of Nette, sharing its project structure and using several Nette awesome components. Thanks to Nette guys, our work on Hugonette projects will be nice & fast.

### License

Hugonette is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://andygrond.gitbook.io/hugonette/hugonette.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
