Liquid Fire Posted November 13, 2007 Share Posted November 13, 2007 I am currently create a very very light weight framework for PHP, I want something that is very simple to use and reduce the very common task(like emails, database, etc...) but does not limit the programmer is any way(only limiting this the the code standard like naming conventions). I have gotten to a point where i have everything i want and nothing it too limiting(at least to me). here is the functionality of it: database class(custom built, should support mssql, postgre, and mysql. only mysql has been tested tho) email class(wrapper for php mailer) base_data class(used for an class the access data from a database and provides simple functoin for getting and save to the database) xhtml class(for create standard html easier, mainly an internal thing for my table class to create a table from an array) That is pretty much it, only other thing is a error class. but as i am think about some php variable type(mainly string/array), i think will would be good to make my own version so they can become a lot more friendly with oop features. like a string has a number of function associated with it but wouldn't it be easier to do this instead of the standard way: $string->replace("this", "that"); also with array have these types of function. just want to get your guys thought on it. Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 14, 2007 Share Posted November 14, 2007 Well for the string class if I were looking for a reusable class I would look for a class which would not do too simple things like replace etc. but something that would be a combination of many commands (something complex) so I do not have to use too much code just a string class Quote Link to comment Share on other sites More sharing options...
Liquid Fire Posted November 14, 2007 Author Share Posted November 14, 2007 well the replace was just an example, the are a number of php command related to string that would be in it include customer command like php does not support by default with predefined functions. The same thing would go for arrays to, for instead i would be adding a function to insert an element to the front of the array with is no supported by default, as in you need to write your own function. Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 14, 2007 Share Posted November 14, 2007 That would be cool looking forward to your ideas let me know if I can be of any help Quote Link to comment Share on other sites More sharing options...
Liquid Fire Posted November 14, 2007 Author Share Posted November 14, 2007 I am trying to think of a name for those classes since i can't use string of array, any ideas? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.