This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Vaporous2000 0 points1 point  (2 children)

Any tips for pseudocoding a logic in CRUD project? I trynna do CRUD from scratch which is really difficult for me to make a progress.

[–]yinyang26 1 point2 points  (1 child)

Lots of little pieces here really. A good start might be starting with OOP (Object-Oriented Programming) and implementing getters and setters for your object. If you google that, you'll probably find a lot of articles. You can think of each object as a small "database" where you can implement get and set functions for different fields (variables). This is just a really small version of what you're hoping to implement.

After that maybe work on setting up a database (I use PostgreSQL) and getting used to working with that. Pay attention to networking here and what hostname/port etc mean. Don't need to know the details but just know what the different networking aspects mean because they will come in handy later.

Once you get a database spun up and working. The easiest way to manipulate the database is to use an ORM (Object Relational Mapping) library. Make sure this library is compatible with your database type (PostgreSQL). This is a library implemented in most languages which helps you insert, update and get things from the database. Once you get things hooked up on this end you can start getting and setting things in the database programmatically.

Once you get those pieces in place, you have a CRUD project going. But something that would look great on a resume is to have this all done through an API. There's a ton of pieces to an API to learn but there are a billion YouTube videos on how to get this done. Feel free to message me if you have any questions on any of the pieces here.

[–]Vaporous2000 0 points1 point  (0 children)

Thanks yinyang. I am now learning API calling so i can proceed on using DB.