Mostly Delphi you have always chance to manage your executable. You can re-pack it, crypt it ( you know that we can see most of the strings or code strings in an executable compiled with delphi. Remember DeDe ) or compress the executable.
There’re many programs doing this job. You can look most of them at protools.
I tested most of them for my personal use. At last i choose pelock.
Pelock is a packer, crypter and compressor for your delphi programs. It has very simple and easy to use interface. Additionally you can make demo check by this program.
But not most of these are pelock’s good side. The good with pelock is the producer. If you encounter some problems he always help you on your job. He wants you to send the files, extra libs, etc. Solve the problem and recompile his program and then send it to you. So pelock is my first choice because of the very very nice producer.
While using pelock you always now that the producer is at the other side waiting there to solve the problem related to his software!
If you’ve written an application using Advantage Local Server and want your application to run on another machine you have to distribute some files with your application. These files are Advantage’s API dlls, charset configs, and configuration file.
Lets check which files to be copied :
Continue reading ‘Distributing Applications With Advantage Local Server’
As you know full-text search means searching words on database. So how we understand (or find) a string is a word or not?
We have only one option to understand words. That’s the white spaces after words.
This can be a common problem if you save words on a column like these :
Continue reading ‘A Note About Fulltext Search on Databases (like Advantage)’
If you make a tag system and want to make a tag cloud page which will writes tags in different sizes accoring to use time refer to Tag Cloud document. That’s an easy and practical way for you. (Document Mirror on Focus on Code (186KB))
If you want to learn CSS Positioning or need a manual in your pocket you can refer to Learn CSS Positioning in Ten Steps article. That’s a very good and simple article including most of positioning styles. (Document Mirror on Focus on Code (88KB))
If you want to read and write to TWebBrowser component on Delphi you can refer to How to read and write form elements article. Article contains most wishes while using TWebBrowser. Before using these just insert Microsoft HTML Object Library to your project and add MSHTML_TLB class to your uses block.(Document Mirror on Focus on Code (52KB))
I’ve searched for if there was a good solution for database driven application which uses tags. Finally i found a blog entry discussing tags and database schemas.
In that entry “Toxi Solution” is the best solution. Simply the schema is like this :

I liked this schema and using it for 4 months in my projects. I’m not only using this for tags on my projects that most of table “references” are done like this. This is an old and good system for referencing tables.
For future references you can download a copy from Focus on Code : Tags_ Database schemas.mht (204KB)
If you’re searching for a database solution for your Delphi/Builder applications Advantage Database can be a good option.
I’ve using advantage local server for two years. It’s a very stable local server. It has most of the modern SQL features. It has a good table based encryption. ( With advantage local server you cannot only encrypt the table’s connection, you can encrypt datas that table has. So we can say it’s secure if our application is also secure ). The performance is supreme whether you’re running long, loooong, loooooooooong queries using multiple tables, lots of SQL functions, etc.
And two good points with Advantage. The producer of Advantage, Sybase iAnywhere distributes a program for doing all the of the operations over local tables (creating,manipulating,running queries, etc) with a user friendly gui. Additionally they distribute Delphi/Kylic/Bc++ components for doing all of the operations on tables.
Lets write some advantages of the advantage local server :
Continue reading ‘Advantage Local Server’
I searched a lot for a good working ajax upload script with simultaneous progress bar. At last i found one. File Chucker is the best i think.
If you need to save binary files to a mySQL database you must see this article first : Binary Data + MySQL + PHP. Thanks to writer for good article.
You know that Wordpress has a very well menu on blog entry pages. In fact that is not only a menu, that is a couple of blocks than can include lots of menus. The blocks are not static, you can drag and drop them. Don’t worry, the script will remember where you move and drop them! I searched for the script if it’s a lib. And at last i found that this is a script created by Brothercake.com. The name of the script is Docking Boxes. It has a lot of features than we can’t mention in here. ( And of course you can view all of the pages at brothercake. Very very nice site with very nice code! )
MD5 hashing is a good opportunity for people who are downloading lots of files from internet. Feel free to use md5 hashing while distrubiting your files or feel free to use md5 hashing while controlling integrity that a file is downloaded from the true vendor.
As you can think md5 hashing has two dimensions. First dimension is hashing a file before distribute. Second dimension is integrity checking.
There’re some tools of course.
Continue reading ‘MD5 Hash Tools For Windows’
In general most developers install Apache as a service to his/her machine. But sometimes only one apache server can not fit for our wishes. For example we want to use another apache server for testing purposes or want to use another apache server with different server configuration.
Have a nice day, here is how we do it :
Continue reading ‘More than one Apache Server on a Windows Machine’
Nowadays search engines are what we are. But sometimes i need some new features like these :
- Search engines must not only have ability to parse html codes or salt strings. Additionally they must execute javascript codes like a browser and search the texts generated by javascript codes. They must understand XmlHttpRequest or other dynamic methods.
- Search engines must make hidden layers visible to us. For example you search a string in engines, they say that the string is there on a page but when we preview page from engines’ cache we see nothing! Engines must make them visible to us.
- Or engines must not include unvisible layers in search results. May be “really” i don’t want to show my users my hidden layers.
- Search pages must be rateable. I searched something, engine sended me lots of results but none of results help me, or all of the results are fake! So i must have the ability to rate that search. After a lot of rating from different users around the world search engine moderators can have the ability to look at that search and reorder or recheck their results.
I really need these, don’t you?
Latest Comments