{"id":277,"date":"2004-08-05T03:26:01","date_gmt":"2004-08-04T19:26:01","guid":{"rendered":"http:\/\/foxpro.ntsl119.com\/scr\/?p=277"},"modified":"2007-11-02T14:06:40","modified_gmt":"2007-11-02T06:06:40","slug":"imcscpaneldatatransfer-module","status":"publish","type":"post","link":"https:\/\/foxpro.ntsl119.com\/scr\/archives\/277","title":{"rendered":"IMCS.CPanel.DataTransfer Module"},"content":{"rendered":"<p><font face=\"Tahoma, Verdana, sans-serif\">02:08<\/font>AM.<\/p>\n<p>Unholy hour for some&#8230; but for me this is the holiest of holy hours. Every thing&#8217;s calm and at peace and I can code the way I want. Of course there are those times (especially when the sun is up) when I would prefer coding when U<font face=\"Tahoma, Verdana, sans-serif\">2<\/font>, Paul Oakenfold, Enigma, NIN or even the soulful music of ColdPlay pounds in my ears&#8230; but when the sun decides to dream, I prefer silence.<\/p>\n<p>Ah&#8230; enough of these things. I did promise myself to concentrate on work blogs once more. To discuss more programming\/freelancing\/system-analysis-related issues and insights would be the priority. The info-links you used to see will still be there, probably underneath each &#8216;work blog&#8217;.<\/p>\n<p>So what have I been working on for the past few hours?<\/p>\n<p><font face=\"Tahoma, Verdana, sans-serif\">IMCS.CPanel.DataTransferModule<\/font><\/p>\n<p>What in wakahalarovha&#8217;s name is that?<\/p>\n<p>IMCS stands for Integrated Media Center System and CPanel for Control Panel. Like most control panels you see in this world, this module aims to give the user the &#8216;lowest level access&#8217; to some core parts of the program. Most settings and configuration are in there.<\/p>\n<p>One of my measurements on how &#8216;good&#8217; a program\/system is, lies on how it can stand alone independent of the programmer who created it. If it can run for <font face=\"Tahoma, Verdana, sans-serif\">7<\/font> years or more without my intervention, the hacker-part of this soul would be lust-ified.<\/p>\n<p>That is why the CPanel is there.<\/p>\n<p>Of course certain &#8216;outside factors&#8217; like operating system variables, upgrades, environment, meteorites, non-thinking management and millions of other factors, pose a great challenge to that &#8216;independence&#8217;. Include some marketing related factors too. But, that would be another blog for now.<\/p>\n<p>It has been my practice too, to make the database systems I develop compatible with a certain client&#8217;s other existing database applications. And since the Registrar and Cashiering (which involves different student information-related modules) are already handled in four of my clients by another software development company years before me, I made the Transfer Module as a means to export their databases to my database applications.<\/p>\n<p>Of course I could make use of their database directly inside their own folders, but I prefer using my own re-structured database for a number of reasons. <\/p>\n<p>One&#8217;s to be safe. If something happens on their part of the application, the database applications I am maintaining would not be affected. Same holds true the other way around. If corruption or any variation of those things happen, their system would not suffer.<\/p>\n<p>And trust me when I say I don&#8217;t want a fellow Foxpro programmer to suffer&#8230; especially in my own hands.<\/p>\n<p>Second reason is I am very particular with how I name the fields, the name formats and such. If you maintain several programs, it would be good for you if you&#8217;re using your own easy-to-remember conventions which would be hassle-free for you to recall once you switch on your development process to and fro from within your tasks pool.<\/p>\n<p>Third reason involves the way I normalize fields and records. Fields such as Relative<font face=\"Tahoma, Verdana, sans-serif\">01<\/font>, Relative<font face=\"Tahoma, Verdana, sans-serif\">02<\/font>, Relative<font face=\"Tahoma, Verdana, sans-serif\">03<\/font> and so on is a big no no for me.  Well, at least most of the time. This would be a different story though if it is a RelativeGivingOutiPodsandG<font face=\"Tahoma, Verdana, sans-serif\">5<\/font>sToDevelopers. If this is the case&#8230; the more the merrier applies instead.<\/p>\n<p>But following a database system that is not yours is not that easy. Even if both systems are developed in Visual Foxpro and you&#8217;re only scratching the database parts. <\/p>\n<p>For one, the other database programmer can change the structure of the database at any point, and you, like me, find yourself re-coding some parts of your program, which in my case, the Data Transfer module.<\/p>\n<p>These occur too especially if the other software development company has more than one programmer who seems to juggle with their field naming convention. CLIENT_<font face=\"Tahoma, Verdana, sans-serif\">01<\/font> uses MTELNO and FTELNO for their parent&#8217;s phone numbers. CLIENT_<font face=\"Tahoma, Verdana, sans-serif\">02<\/font> on the other hand uses MBTELNO and FBTELNO where I suppose &#8216;B&#8217; stands for Business. Client_<font face=\"Tahoma, Verdana, sans-serif\">01<\/font> don&#8217;t have equivalent names for those fields.  And in this digital world, one bit makes a BIG difference.<\/p>\n<p>Last June, I also found myself in a position where another database structure was change and I cannot even edit it until I open the database exclusively. A feature which I should be adding on the Database Utility Module (equivalent to Clipper&#8217;s DBU) I made.<\/p>\n<p>A utility which I will discuss further in another blog&#8230; in another time.<\/p>\n<p>\ufffd\ufffd\ufffd<\/p>\n<p>Good luck, <a href=\"http:\/\/news.bbc.co.uk\/1\/hi\/sci\/tech\/3530916.stm\" target=\"_blank\">Arctic Team<\/a>&#8230; may you find what you&#8217;ve been looking for. Same shout outs to <a href=\"http:\/\/news.bbc.co.uk\/1\/hi\/sci\/tech\/3528616.stm\" target=\"_blank\">Cassini<\/a> and the <a href=\"http:\/\/news.bbc.co.uk\/1\/hi\/sci\/tech\/3940967.stm\" target=\"_blank\">Mercury Messenger<\/a> as well (<font face=\"Tahoma, Verdana, sans-serif\">472<\/font> million dollars for <font face=\"Tahoma, Verdana, sans-serif\">7.9<\/font> billion kilometer journey eh?).<\/p>\n<p><a href=\"http:\/\/news.bbc.co.uk\/1\/hi\/health\/3929471.stm\" target=\"_blank\">Aloe vera may treat battle wounds<\/a>. Nah&#8230; I prefer peace, unity and discussion. Deal with things the way &#8216;good&#8217; programmers handle problems. War was never a solution&#8230; and never will it be. How come we never learn from the past?<\/p>\n<p>Make way for <a href=\"http:\/\/www.technologyreview.com\/blog\/blog.asp?blogID=1511&#038;trk=blog\" target=\"_blank\">Doom&#8217;s Day<\/a> instead.<\/p>\n<p><a href=\"http:\/\/maks.ebloggy.com\" target=\"_blank\">Mark Anthony Panizales<\/a> is now bloggin&#8217;&#8230; and Ceazar Ryan Sealana too. If you could remember they were part of the <a href=\"http:\/\/foxpro.ntsl119.com\/archives\/00000179.html\" target=\"_top\">first call-to-blog post<\/a> of mine. I&#8217;ll be posting a second batch of roll calls within the week.<\/p>\n<p>Looks like <a href=\"http:\/\/arstechnica.com\/news\/posts\/20040803-4068.html\" target=\"_blank\">SCO gets it<\/a>.<\/p>\n<p>I don&#8217;t get it.<\/p>\n<p>Nevermind.<\/p>\n<p>Happy birthday, Neil Armstrong.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>02:08AM. Unholy hour for some&#8230; but for me this is the holiest of holy hours. Every thing&#8217;s calm and at peace and I can code the way I want. Of course there are those times (especially when the sun is up) when I would prefer coding when U2, Paul Oakenfold, Enigma, NIN or even the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,10],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-visual-foxpro","category-workblog"],"_links":{"self":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":0,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"wp:attachment":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}