Ymodulus's Posts
Nairaland Forum › Ymodulus's Profile › Ymodulus's Posts
1 2 3 4 5 6 7 8 ... 131 132 133 134 135 136 137 138 139 (of 147 pages)
@dhtml thanks i get u. Now on the path of the framework yes. I automatically detected the path using gcwd() function get current workind dir. Den i concatenate the sub folders to the current workin directory and defined dem in a constant which reside on my bootstrap.php file located at the top of my script. Also mind u i also used an HMVC PATTERN, currently i can use 3 different site on one installation of the framework this made my admin interface implementation easy. And also i created a url class that will serve as an helper in all case like site url. Admin url, index.page. Now on template am not using a template engine i really hate it cost its overtasking and not worth it, also y use a template parser class while php is a template engine, with this regardless i created a specific class that handles templates, now the only thing u see on templates are url or static class call note they are already defined in the includes folder. I made a switching system where by you can switch to another template which ever you like on a click without hardcoding any thing. The themes are in two section /typeofview/themename/ where type of view takes 2 values Desktop or mobile and theme name is the themenames. Now i determine the themename via database but type of view by detecting user browser system and if its desktop browser mozilla for example it stores the folder path in a cookie. Caramba! What if cookies are not accepted on browser. If not accepted i use default value. Though am planning to change this feature i want users to determin if the want mobile or desktop. Now on templates all the template are seperated into blocks. E.g search only search box. Comment.php only comment box, footer.php only footer side, menu nav.php only menus login.php only login box. This allows easy identification note i dont code directly on themes the only type of code u see are code of this nature <?php if(Login::user==true) : ?> <input type='text' name='' value='' /> endif; so if user has not logged in it echos login box else it do notin. My controller handles all validation. Also i dont use direct include i wrapped in a function then inside the function is a cache class this enables caching of sub units. And from blocks a designer can set a particular css for a block. He/she just do this template::set-css('dhtmlymodulusbinkabirmoderator.css'): my template class automatically grabs the vallue and echo it on the header its kind of a plugin system. Also i am looking for a way to hide css and images urls. Pls can u help? If u want to create a new project work say about-us. Just create a controller class extending the main controller class then index method. And just extract it in the about-us folder under the hierachy. Am about creatin a extractor class so that users can just extract by uploadin it in admin panel plugin rather than opening the raw file. Now pls pls pls. Can you help me on storing session on database also what are the advantages to cookies. I read of stealling cookies yes but i really dont like session cuz of user closing browser and have to login again its painfull also how do i use sessions if i want it available on subdomains? Or an account.nairaland.com where pple login just like gmail yahoomail from one domain? |
Well well well. I was viewing your site from my mobile phone screen resolution 240 * 360 and i saw it was ok. I went to your register page i didnt like the box. They where dark for my liking. Gosh imagine me trying to register and i was struggling to write my name on a colorfull box that dont really show what am typing with clarity. Where are my glasses? I also notice this with all most all your input boxes. Well make the box look nice. Well i can understand you using wordpress if am not mistaking, if yes please try to make the theme mobile friendly in respect to the arrangement of the categories on other issues its great, it loads fast even with my poor mtn service this days. Good work bro kudos |
Well said dhtml. When you talk about wrappers what do u mean i may ask? Well on session management belive me i use cookies for most stuff highest i encrypt the name the cookie and use one of those xss cookie request forgery protection script to protect it. And on db. Am actually thinking of updating my class but stop for some reason. Fine i am using chaining for my db class so if i want to select from table user i do this Db::select->('user')-where->('id=dual core')-query->; now the problem is that in side the class i use mysql statements but with the release of php pdo library which enables connecting and using many database types with one query statement am thinking of updating the class but i heard this library is php 5:1 bundled so am afraid of host compatibility. Also can you explain more when you talk about form api. I saw this in drupal 8 or 7 but didnt really get what it meant |
Well said dhtml. When you talk about wrappers what do u mean i may ask? Well on session management belive me i use cookies for most stuff highest i encrypt the name the cookie and use one of those xss cookie request forgery protection script to protect it. And on db. Am actually thinking of updating my class but stop for some reason. Fine i am using chaining for my db class so if i want to select from table user i do this Db::select->('user')-where->('id=dual core')-query->; now the problem is that in side the class i use mysql statements but with the release of php pdo library which enables connecting and using many database types with one query statement am thinking of updating the class but i heard this library is php 5:1 bundled so am afraid of host compatibility. |
@poster i think yawa-tide didnt really get you. Yawa he meant the output of the page from mere looking should be simple on html source. That is just a image tag carrying the logo, an input box carrying the search and some few links carrying the footer privacy and so. But when the code is viewed it happens not to be simple has he thought. Well poster i think you cant really say |
@poster the site is not available. Gettin a server error. Also a little just like the frnd above said posting the admin section is not advisable. And my advice why not try using another name for the backend arena. E.g lets say you use /control/ or /adm/ or something else blive me use of admin is now a rampard thing and its not really advisable for pple to easily get your admin url. Just a personal suggestion though. You free to do what you want |
phpmailer. Gosh good sha but not easily understandable as bankibir. I use a custom class i saw on online it had some errors so i just patch it up and have it updated. But wait i think theres a problem cuz. I think gmail account dont recieve mails. I dont really know sha |
Bit of advice. I think you should use wamp instead. Belive me xampp has no much feature also her configuration are hard core onlike wamp so easy you downloads add on and twist things like you have a vps. You can easily update ur php version, databases(mysql, sqlbuddy(manager dou))etc with ease. You can modify apache settings with ease also configurations are up to standard though it does not output headers error. With ob-start() u can get around. And last i checked xampp dont throw error on undefined variables. I stand to b corrected. |
Bit of advice. I think you should use wamp instead. Belive me xampp has no much feature also her configuration are hard core onlike wamp so easy you downloads add on and twist things like you have a vps. You can easily update ur php version, databases(mysql, sqlbuddy(manager dou))etc with ease. You can modify apache settings with ease also configurations are up to standard though it does not output headers error. With ob-start() u can get around. And last i checked xampp dont throw error on undefined variables. I stand to b corrected. |
Good moderator i just finished a config class. Never really liked the way i made my config variables polluting the global space. Had to inter tweak them. |
Good moderator i just finished a config class. Never really liked the way i made my config variables polluting the global space. Had to inter tweak them. |
Belive me dhtml. I must be honest with you though we have not met facially. But i must say i take you like a role model on this programming issues. Today i was discouraged but with your statement you just encouraged me. Now i am on the side of converting this framework of a thing to a cms. I have my reasons. I noticed that since i started this framework of a tin i have been tryin to code in other to suit all conditions but realise its not achievable thats y i support your statement that no framework can settle all probs. Sha let the work go on |
very good am encouraged. am also on my own cms open source to. but its kinda a framewor/cms evrything is from scratch will publish it when am done |
is that the channel tv official site? also kudos i love it |
@omavo link to your website and also how can i contact you |
bigtt76:thanks sis you just hit the hammer on the nail. @poster let me give you an out of the box suggestion, why not try GTBank. |
gascoign1:thanks i could recall when the siasia was debating on his pay. then he knew not on some fellows after him now he his opening his big dirty mouth |
efepro:thank you my brother |
Torch1:lol! no mind them jor |
[quote author=alj_harem link=topic=786156.msg9392053#msg9392053 date=1319231537]rubbish, so that young minds like you and others can keep harbouring hate in your hearts abi maybe you need to read the article again, to tell me if it should be in nigerian history what history are we to learn from this, that the hausa/fulani are evil while Biafra were the angels and were good right ? do not think this is a one side epistle that paints an ethnic group as bad and the other as good ?[/quote]to the bolded why deny the fact that nigerians will always live with hatred in our minds. you and i know that today hausas and igbos are worst of enemies. cause of so call civil war. mr alj harem |
O my god! I cant imagine the stress tobi technology took to design that website. Gosh! Have that guy heard about running all pages from index? No offence i know this off topic. Now back to question well blive me its not as easy as you tink but secondly you need to have passion in what you do or you complain always. Like yawa said most keep money up front |
This is just my problem with NIGERIAN GOVERNMENT. they let academic ret.ards have access to the net. Are you this foo.lish who do you think i was replying to. Am amuse at your stup*idity. A no body saying calling others names. I dont know what am doing wasting my time talking to a babaric fool. Rubbish. I never knew you were this stu+pid. I made a mistake reply u |
Seun:haven't you heard that the igbo's are now training sucide bombers? my friend what do you expect from some bunch of igbos who are desperately in need of money and the income is not yielding ? this are who these young igbo boys are. its true go and confirm |
ok. good i think i wud have to look for an unlimited bandwidth cause am scared with this analysis |
^^^ do not waste time talking to a fool. else you both bcome fools. A little word |
..... |
i love your opinions. I am building from scratch already. I came to find out somethiing am using the mvc approach using an internal php routing system which generates nice url without mod rewrite just like drupal of which Egbon caramba suggested to me i.e url of this nature www . Nairaland . Com/?go=/topic/view/16/8uild-from-scratch-or-use-existing on most of this i have been using all those codeigniter cakephp zend but never really understand how they worked also when a problem arises u just run to the community. But now i figured out that building from scratch saves u headache as Dual said also u get to understand alot of things instead of just plug and play. And building fromscratch has put this belive in me that u can achieve wat u want if u determined. I do ask all this why how plugins are implemented on all this wordpress, joomla , drupal etc untill recently wen i decided to see how it was built. So i will advice build from scratch. But that doesnt me am discouraging the use of existing cms o. @ dual core am not suprise at ur response. I ave always known u to be a fan of scratch producers. |
Beaf:i no fit laugh see cowards |
Am not the framework kinda man. Though there's notting wrong using a framework but i just dont know. I dont seem to be comfortable to some extent. I can only be comfortable using things i know i cant implement which serve as helpers e.g PHPMAILER CLASS, STRINGS OR TEXT, INFLECTOR IS NOT REALLY USEFULL, and so on but on core issues like ROUTER, LOADER, REGISTRY error class and translator i prefer coding it myself. Also I REALLY DONT LIKE YII CAUSE ITS DIFFICULT TO INSTALL UNLIKE CODEIGNITER WHICH is so simple. But anyway my opinion. Have not even installed the one i have now i even asked myself if i actually downloaded the real file. Cuz i can only see YII BLOG DEMO and some games. |
NnamdiN:am not surprise. I checked ur username seeing u are igbo. I will agree with u. As its there nature to have natured bred drunkers. Igboss ha |
1 2 3 4 5 6 7 8 ... 131 132 133 134 135 136 137 138 139 (of 147 pages)