GenAI: Running Prototypes Faster Than Wireframes
GenAI creates working software — faster than wireframes. Enter a prompt, you get a database, app, and API. With declarative business logic. Customize in your IDE.
Join the DZone community and get the full member experience.
Join For FreeRequired: Rapid Prototyping, Working Software
Digital transformation is all about speed in turning business ideas into systems. Speed in getting actual working software — running screens, reading and writing real data, with underlying business logic.
Experience has taught us there is no substitute for working software. It's all too common to spend weeks to months creating running screens, only to find out the business idea was not compelling or the requirements were misunderstood.
Wireframes and GenAI Fall Short During Ideation
The world is abuzz now with new products like Figma and GenAI technology to turn these into code. These are absolutely valuable tools... but not during the ideation stage:
- An interesting system will have dozens (and dozens) of screens. That's a lot of layout!
- GenAI automation turns them into client-side JavaScript. What about the backend?
Solution: GenAI-Logic
There's now a new approach:
- Enter a prompt (examples at end) into your browser.
- GenAI-Logic creates and runs a complete system: a test database (with test data), an app, an API, and business logic.
It takes just about a minute.
And it will be wrong ;). It always is, no? It's very rare to get anything right on the first try. The creative process depends on iteration.
So that's supported, too. Review the system — perhaps with your colleagues — and add another prompt ("customers have multiple addresses").
Iterate 15 times before lunch.
This will quickly enable you to determine which business ideas fly and nail down their real requirements.
What About Delivering?
You not only get a running prototype; you can download the underlying project. It's completely standard:
- Uses a standard language (Python)
- Opens in a standard IDE (Developers can use their favorite code editor and debugger)
- Deploys using standard containers
Use the New Breed of AI Tools As Well
It's a standard IDE, so you can use your favorite wire frames and GenAI coding tools like Gemini, Copilot, ChatGPT, Cursor, etc.
Prompts Like These... With Business Logic
Our demo illustrates that prompts can include business logic. That's critical: Business logic represents nearly half the effort of a system. It's the numbered items below:
Create a system with customers, orders, items and products.
Include a notes field for orders.
Use case: Check Credit
1. The Customer's balance is less than the credit limit
2. The Customer's balance is the sum of the Order amount_total where date_shipped is null
3. The Order's amount_total is the sum of the Item amount
4. The Item amount is the quantity * unit_price
5. The Item unit_price is copied from the Product unit_price
Use case: App Integration
1. Send the Order to Kafka topic 'order_shipping' if the date_shipped is not None.
Note that the logic includes:
- Domain logic – Multi-table constraints and derivations
- Integration logic – The rule for sending the order to Kafka
Initially, you might just provide a general business idea, and see what it comes up with:
A dinosaur play group
A Software Development Firm
You can even ask the GenAI system to suggest rules. Keep the ones you like. These often get the creative juices flowing to help identify valuable logic.
Deployment Is Also Standard
The system creates containers you can deploy wherever you wish: the cloud, in-house, or devices like Raspberry Pi.
Check It Out
It's free and open source at GenAI-Logic.
Opinions expressed by DZone contributors are their own.
Comments