Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Expenses - pet project for beginners
#1
Information 
(This post was last modified: 06-11-2024, 07:58 AM by ozornick.)

Github: https://github.com/neznaika0/codeigniter-expenses
Readme: https://github.com/neznaika0/codeigniter.../README.md

I added an example developed on a framework. This is a small CRUD for the history of finance. Who is interested - ask questions.

I tried to use more built-in functionality, but it's hard to cover everything on a tiny project.

P.S. My englisch is bad, so you can help with translations.
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply
#2

Hi,
Thank you for your project !
1) Please explain how did you create/generate file public/assets/main.js ? I suppose under /public/ are file generated(not mannually putted) ?
2) Please explain toast chain whem passing message.
Reply
#3

1. The main.js and main.css files are always accessible from browser, unlike bootstrap (copied from /vendor/).
I did not complicate it - it is possible to move the frontend to a separate folder (for React, SCSS). Then it was possible to create a Publisher.
How did you plan to generate these files?

2.
See https://github.com/neznaika0/codeigniter...toasts.php

PHP Code:
// key "validation" for flashes
return redirect()->back()->withInput()->with('validation'$this->validator->getErrors());

// or Bootstrap keys 'success', 'danger', 'warning', 'info'
return redirect()->back()->with('success'lang('Expense.created')); 

Validation is shown first, then the others messages.
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply
#4
Exclamation 
(This post was last modified: 06-11-2024, 08:00 AM by ozornick.)

Release v.1.1.0 with CodeIgniter v4.5.2  Cool
https://github.com/neznaika0/codeigniter...tag/v1.1.0
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply
#5

Does anyone have any questions or suggestions?

What would you like to consider as an example of basic practices? Not creating heavy functions
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply
#6

Having a website running the sample code could be useful. That was part of how I learned when developing my own CRUD variant, Since i developed it for my employer, I cannot yet share it though.
Reply
#7

(This post was last modified: 07-18-2024, 02:25 AM by Renta Ardhana.)

(06-24-2024, 11:19 AM)ozornick Wrote: Does anyone have any questions or suggestions?

What would you like to consider as an example of basic practices? Not creating heavy functions

[Image: 2024-07-18-16-10-35-Log-in.png]

@ozornick thank you very useful for me as beginner..  but password: 123456 not working. Authorization failed. How to solve this?

[Image: 2024-07-18-16-23-18-env-codeigniter-expe...o-Code.png]

It was solved..[Image: smile.png]
Reply
#8
Information 

It is now possible to install via the composer:
Code:
composer create-project neznaika0/codeigniter-expenses
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB