Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,151,304 members, 7,811,899 topics. Date: Sunday, 28 April 2024 at 10:46 PM

Design Pattern - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Design Pattern (162 Views)

Design Pattern In Python With Real World Examples -A Nairalander Course On Udemy / Best Course For Programmer On Udemy - Design Pattern - Support A Nairalander / Need Good Book On Design Pattern With C++ (2) (3) (4)

(1) (Reply) (Go Down)

Design Pattern by donproject2(m): 9:23am On Feb 11
Nairaland software design pattern is somehow wack. I notice that whenever any of my posts is banned, I will see empty boxes without the said post inside. It looks so ugly and annoying.

What you could have done is to create an extra column in the table where all the posts are saved, let the column decide if a post is banned or not, when fetching for users posts, only fetch posts that are not banned. Then you won't have to use client side code to handle which post is allowed be displayed.

This is 2024 NL.
Re: Design Pattern by edicied: 10:11am On Feb 12
Small programing way you learn you think say you be expert, How is this different from whatsapp "Your message has been deleted". I don't see you making post complaining about that?

(1) (Reply)

Need A Website? Contact Me Today / Software / Do You Need A Data Migrator

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.