[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3874) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4795: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3874) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4796: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3874) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4797: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3874) Web Design Forum • υλοποίηση ORM-like wizzard. CMS Feature : PHP
Θέμα δημοσίευσης: υλοποίηση ORM-like wizzard. CMS Feature
Δημοσιεύτηκε: 01 Ιουν 2014 14:14
Εγγραφή
19 Σεπ 2011 21:07
Δημοσιεύσεις
13
Καλημέρα σε όλους μετά από καιρό
Έφτιαξα μία Alpha (ούτε καν Beta) έκδοση ενός orm wizzard και θα ήθελα να σας το παραθέσω με σκοπό το σχολιασμό.
Θα ήθελα αν έχετε την καλοσύνη να δώσετε φώτα/κριτικές/feedbacks/προτάσεις βελτίωσης.
Να πω εδώ ότι το παρακάτω feature δημιουργήθηκε διότι συνεργάζομαι με καμμένους developers που βαριούνται να γράψουν 4 γραμμές κώδικα. ή ακόμη και για καθαρά designers οι οποίοι δεν γνωρίζουν να δέσουν μία δημιουργία τους σε κάποιο cms - τώρα μπορούν εύκολα να το κάνουν.
Παραθέτω λοιπόν σε τίτλους και screenshots πέντε σημεία που θέλω να προσέξετε.
Screenshot #1 : Στο πρώτο Screenshot βλέπουμε το πρόβλημα. Δηλαδή πως από το html κομμάτι, στο οποίο έχω σκιαγραφήσει με κόκκινο ελλειπτικό φόντο τα σημείο που πρέπει να γίνουν δυναμικά -php/mysql- (από στατικά html).
Screenshot #2 : Ελάσσονος σημασίας screenshot, δείχνει απλά τη λίστα των προϊόντων από το διαχειριστικό, και λίγο πριν τρέξουμε το orm-wizzard
Screenshot #3 : Επιλέγουμε τα στοιχεία που θέλουμε να τραβήξουμε από τη βάση δεδομένων με σκοπό την αυτόματη δημιουργία του απαραίτητου php/mysql κώδικα (query, connection, printing) ώστε καταλάβει το ORM, τι πρέπει να τραβήξει, και από ποιους πίνακες.
Screenshot #4 : Τέλος, οριστικοποιούμε (αλλάζουμε - φτιάχνουμε) την σειρά με την οποία τραβάμε τα δεδομένα... καθώς είναι μια σύμβαση που έχει γίνει με το cms-middleware το οποίο με τη σειρά του αναλαμβάνει να "μεταγλωτίσσει" το παραγώμενο query του ORM να τραβήξει από τη βάση τα δεδομένα, και να τυπώσει τα data αυτόματα με την σειρά εμφάνισής τους.
Μέλη σε αυτή την Δ. Συζήτηση: Δεν υπάρχουν εγγεγραμμένα μέλη και 0 επισκέπτες
Κανόνες
Δεν μπορείτε να δημοσιεύετε νέα θέματα σε αυτή τη Δ. Συζήτηση
Δεν μπορείτε να απαντάτε σε θέματα σε αυτή τη Δ. Συζήτηση
Δεν μπορείτε να επεξεργάζεστε τις δημοσιεύσεις σας σε αυτή τη Δ. Συζήτηση
Δεν μπορείτε να διαγράφετε τις δημοσιεύσεις σας σε αυτή τη Δ. Συζήτηση
Δεν μπορείτε να επισυνάπτετε αρχεία σε αυτή τη Δ. Συζήτηση