<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-32811701</id><updated>2011-04-21T17:10:35.840-07:00</updated><category term='yui'/><category term='web'/><category term='hints'/><category term='rant'/><category term='programming'/><title type='text'>trixbox :)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://trixzster.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32811701/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://trixzster.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>trixzster</name><uri>http://www.blogger.com/profile/15650961570409885024</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-32811701.post-7563108992404566049</id><published>2007-05-24T06:40:00.000-07:00</published><updated>2007-05-24T06:44:46.148-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>arg word choice!</title><content type='html'>I was looking through a financial book and I saw this word depreciated.  Hmm sounds familiar.  Well it is because half of the kids in the computer science department where I used to go didnt know the difference between depreciated and deprecated. They are clearly different; here are their definitions:&lt;br /&gt;&lt;br /&gt;deprecate- express disapproval for.&lt;br /&gt;depreciate - lower in value.&lt;br /&gt;&lt;br /&gt;Now that you know this pronounce it de-pre-cated not de-pre-ciated they are two different things &gt; &lt; :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32811701-7563108992404566049?l=trixzster.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trixzster.blogspot.com/feeds/7563108992404566049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32811701&amp;postID=7563108992404566049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32811701/posts/default/7563108992404566049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32811701/posts/default/7563108992404566049'/><link rel='alternate' type='text/html' href='http://trixzster.blogspot.com/2007/05/arg-word-choice.html' title='arg word choice!'/><author><name>trixzster</name><uri>http://www.blogger.com/profile/15650961570409885024</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32811701.post-2962676545075589803</id><published>2007-05-23T16:36:00.001-07:00</published><updated>2007-05-24T05:47:24.034-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hints'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>Struggles for modularity and flexibility</title><content type='html'>As projects expand, so does their need for additional functionality. Most of the time functionality is common and can be separated into distinct objects.  However, these objects will more information to specify its purpose. An example is a website which I quickly put together.  In the short amount of time that you had spent on it, I put no effort into making it flexible or scalable.  However, when the website project needed to be extended, there was difficulty was separating common things into files. When I did do that,  the result was a huge file which contained the methods and functions of every module on the site.  It was a huge mess that I rarely ever wanted to touch.  On try three I had started building a directory structure and started separating specifics of the web application in question. This allowed me to quickly locate and resolve and problems that had arisen.  Aside from the quickness in locating the problem, there was another benefit, modularity. Here are some hints I have started to use in my web projects.&lt;br /&gt;&lt;br /&gt;Modularity hints:&lt;br /&gt;1. &lt;span style="font-weight: bold;"&gt;create a configuration file&lt;/span&gt; which contains data that may frequently change. Things like mysql connection details which can be subject to change when you move it to servers. The database you will be using, etc. It does not only apply to the database, but it maybe useful in other parts of your programs which require the same configuration information the same time in multiple places.&lt;br /&gt;2.&lt;span style="font-weight: bold;"&gt;separate images, library functions, javascript files into their own separate directories&lt;/span&gt;. This makes things alot easier to find and it will look alot neater when you are sifting through looking for specific files.&lt;br /&gt;3.&lt;span style="font-weight: bold;"&gt;create template files which allow for pages to be modeled after&lt;/span&gt;. This allows for changing the code in one place, although this may not be feasible on a heavily populated traffic site. In the case of the heavily populated site, I would suggest the Factory pattern in generating the pages and having them  stored on the server. Its a one time thing that will only require the script to be run once in order to generate the pages with the templates. Money is time and good service is money. So quick loading auto generated pages are the way to go for websites with templates.&lt;br /&gt;4.&lt;span style="font-weight: bold;"&gt;find logical ways to split up huge function libraries. &lt;/span&gt;If the language you are programming does not support or enforce objects, the procedural process of dealing with all the data is a pain. Find a logical way to separate functions, i.e. validation functions, display functions, and database functions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32811701-2962676545075589803?l=trixzster.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trixzster.blogspot.com/feeds/2962676545075589803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32811701&amp;postID=2962676545075589803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32811701/posts/default/2962676545075589803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32811701/posts/default/2962676545075589803'/><link rel='alternate' type='text/html' href='http://trixzster.blogspot.com/2007/05/struggles-for-modularity-and.html' title='Struggles for modularity and flexibility'/><author><name>trixzster</name><uri>http://www.blogger.com/profile/15650961570409885024</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32811701.post-2005817609352035381</id><published>2007-05-23T09:46:00.000-07:00</published><updated>2007-05-24T05:47:48.755-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='yui'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>Yahoo YUI</title><content type='html'>After looking at the examples in the YUI (Yahoo User Interface), I've learned that there are some neat features.  One of which is the Datatable.  With a bit of modification of the code, I was able to integrate the datatable into my own web application while saving me much time and effort from coding the ajax and displays.&lt;br /&gt;&lt;br /&gt;Yea so it turns out that im coming to branches in logic where i can start implementing the goodies for the future or just get the current platform working. I know that eventually im gonna have to put the goodies in, but dammit, moral dilemma! How does a lazy person like me decide to whether to fix the problem now or let it linger and fix it in the future 0_9&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32811701-2005817609352035381?l=trixzster.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trixzster.blogspot.com/feeds/2005817609352035381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32811701&amp;postID=2005817609352035381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32811701/posts/default/2005817609352035381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32811701/posts/default/2005817609352035381'/><link rel='alternate' type='text/html' href='http://trixzster.blogspot.com/2007/05/yahoo-yui.html' title='Yahoo YUI'/><author><name>trixzster</name><uri>http://www.blogger.com/profile/15650961570409885024</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
