February 2004 - Posts

MyGeneration Code Generator, another CodeSmith?

MyGeneration Code Generator

MyGeneration is a .NET developer tool that generates code from templates by combining either JScript or VBScript with a powerful database meta-data API. 
 
It's 100% FREE:
You can use MyGeneration free of charge! The only thing we ask in return is that you provide us with feedback, report any bugs, contribute to our site, and tell others.
Multi-Database Support:
The MyMeta API can read meta-data from Microsoft SQL,  Oracle,  IBM DB2,  MySQL, and Microsoft Access. You can then use the meta-data to programatically generate stored procedures, business objects, and even user interfaces.
Entity Aliasing:
Most code generators don't allow the user to alias the names of tables, views, columns, relationships, etc. MyGeneration supports this and more!
Interactive Template Input:
MyGeneration is probably the only Code Generator out there that allows for a dynamic Graphical User Interface script block. You can write scripts that will capture data through a Windows GUI and copy them to a data structure for use in code generation. Each Template has an optional User Interface code section.
Powerful Template Editor:
Our template editor uses the powerful and well known Scintilla source code editing control. It features syntax highlighting, search and replace, line numbering, and many other nifty features!
 


Looks promising this new free tool. You can generate template based business objects for C#, VB.Net and for PHP classes.

Some screenshots here of the tool! Got to check this one out the next weeks. Hope you guys share some experiences too.

with 0 Comments

Just a simple registry import and a usetype.dat file to use VS for PHP

Yesterday I talked about vs.php but you don't need extra components to edit php scripts in the VS.Net IDE....

Copy usertype.dat to your Visual Studio IDE directory (Default install should be C:\Program Files\Microsoft Visual Studio .NET (2003)\Common7\IDE). usertype.dat contains PHP specific keywords.

Import php_edit***.reg (*** = your version) into the registry. All it does is create a .php extension entry, and maps that extension to the C/C++ syntax highlighter/editor.

You get:

= Syntax Highlighting
= Code Folding

 

Get it here

with 0 Comments

PHP.Net ?

Develop php applications from within Visual Studio.Net 2003?

Deploy your application to a Linux server with ease. Integrate your PHP web services with .Net applications and vice versa?

You should then take a look at VS.Php !

Great, no more swithching between editors and full integration of PHP and .Net

  • Code highlight for PHP 4 and PHP 5 syntax - Highlight keywords, identifiers, comments, string literals as well as numbers. You can customize the styles using Visual Studio .Net standard options dialog.
  • Intellisense support:
    • PHP built in functions - VS.Php includes the latest definitions of the PHP built in functions.
    • PEAR classes and functions - Include your PEAR classes into your PHP files and the classes and functions will be included in the intellisense. The PEAR files must be located in the local machine and you must provide the location where the PEAR files are installed.
    • Your functions
    • Your objects
    • Your constants
    • Function and method parameters
  • Funtion parameters tooltips - As you type your parameters VS.Php will provide a tooltip window telling you which parameter you should be entering. As you move along the parameter list, the tooltip follows you.
  • Real time syntax checking - VS.Php is constantly checking the syntax of your php files and when your code has a syntax error it will highlight the code that has the error.
  • Bookmarks management - VS.Php leverages Visual Studio ability to add bookmarks to the code. You can use these bookmarks in any of your PHP files.
  • Cross-file searching - VS.Php lets you use Visual Studio find and replace functions within a single file or across directories of files.
  • Regular expression searching
  • Window cloning - You can have multiple windows open of the same file.
  • Customizable keystrokes - You can customize your editor to fit your needs.
  • PHP help integration - Press F1 on top of a Php function and VS.Php will show you the documentation of that function.
  • Bracket matching support - Place your cursor on top of a bracket and VS.Php will highlight the corresponding bracket associated with the one you are selecting.

Editing PEAR.php

Editing a php file inside Visual Studio .Net

Intellisense feature

VS.Php intellisense feature for php source files

Bracket matching feature

Matching brackets in php code

Create new project

Creating a new php project inside Visual Studio .Net

Solution Explorer

Managing a php project inside Visual Studio .Net

Debug settings

Debugging settings for php projects inside Visual Studio .Net

FTP deploy settings

Deploying a php project from Visual Studio .Net using FTP

 

with 2 Comments