I found this framework very rich and fantastic to use for web app and mobile too (iPhone) , follow the exisiting sample , and in case of mobile look at their demo on your iPhone, looks like native.
another popular framework is the jQTouch ,a jQuery plugin for mobile web development on the iPhone,
iPod Touch, and other forward-thinking devices.
enjoy
Yaniv
This Blog is first of all memos for me!! From time to time I get exposed to new and cool stuff for developers and architects ,most of the time its a solution for a problem or tips or tricks, so, I would like to track my memos and share it with you, it can save your time and nervous, I hope you will enjoy it - by Yaniv Tzanany.
Search This Blog
Monday, June 28, 2010
Monday, June 21, 2010
Visual c++ & MFC - useful links
When its coming to c++, i am still using the old new IDE the VC++ (visual studio 6) ( C# on VS2008)
i myself still developing c/c++ application via this version , i know what to expect so i never get disappointment . beside all our legacy source code developed via this IDE.
i found very useful site with some nice links that might be useful for people like me that still using the old IDE from microsoft "C++, Visual C++, MFC - Tips and Tricks: collection of useful info, sample projects, source code, valuable links."
Yaniv T
i myself still developing c/c++ application via this version , i know what to expect so i never get disappointment . beside all our legacy source code developed via this IDE.
i found very useful site with some nice links that might be useful for people like me that still using the old IDE from microsoft "C++, Visual C++, MFC - Tips and Tricks: collection of useful info, sample projects, source code, valuable links."
Yaniv T
Sunday, June 20, 2010
LogonUser API and get the user Groups
network management functions are very useful function to integrate your software with the network services such directory services (LDAP) etc.
In my case i used the LogonUser API to check a valid user/password of a user against the AD, and than i used NetUserGetLocalGroups api to check a valid group to the specific user.
of course you can do it as well with the ADSI api , but i found this easier to use.
note:
your running process should have permission to get the user groups.
Yaniv T
In my case i used the LogonUser API to check a valid user/password of a user against the AD, and than i used NetUserGetLocalGroups api to check a valid group to the specific user.
of course you can do it as well with the ADSI api , but i found this easier to use.
note:
your running process should have permission to get the user groups.
Yaniv T
Thursday, June 17, 2010
Running Batch file from network location
I develop a java tester tool for our testers , and to avoid installing java run time on their machines, i create a directory in the network and copy there the java run time with my specific jars.
to make the life easier i create a batch file to run the tester tool.
hammmm , when i tried to run the batch file i get the next error on the next command cd .\java\bin,
“CMD does not support UNC paths as current directories“.
i solved it by the next command: "pushd %~dp0\java\bin"
the %~dp0 is to Get the Directory Path of an executing Batch file
dont forget in the end use POPD command .
i have put all the stuff on the network e.g. \\server1\tester\
so finally my batch file looks like this :
@ECHO OFF
pushd %~dp0\java\bin
java -DPARAM1=../../param.config -jar ../../param.jar %1
popd
pause
enjoy
Yaniv T
to make the life easier i create a batch file to run the tester tool.
hammmm , when i tried to run the batch file i get the next error on the next command cd .\java\bin,
“CMD does not support UNC paths as current directories“.
i solved it by the next command: "pushd %~dp0\java\bin"
the %~dp0 is to Get the Directory Path of an executing Batch file
dont forget in the end use POPD command .
i have put all the stuff on the network e.g. \\server1\tester\
so finally my batch file looks like this :
@ECHO OFF
pushd %~dp0\java\bin
java -DPARAM1=../../param.config -jar ../../param.jar %1
popd
pause
enjoy
Yaniv T
Wednesday, June 16, 2010
C++ MQ application without MQ Client installation
The next stuff tested on mq v5.3.
Sometimes your program run on the same machine where the MQ server is installed , so why to install MQ client on this server , if you have the MQ server there ??
the "Trick" is in your app development , you need to compile and link your application with the correct MQ library , client or server.Usually the server library contains the s character and the client with the c.
e.g. imq{c|s}23in, imq{c|s}23vn.
when dealing with server binding you need to know the next stuff, the channel name and the server name is ignored, the important parameters is just the queue manager name , and the queues name.
In case you want to connect to the default queue manager name leave the queue manager name empty.
Enjoy
Yaniv T
Sometimes your program run on the same machine where the MQ server is installed , so why to install MQ client on this server , if you have the MQ server there ??
the "Trick" is in your app development , you need to compile and link your application with the correct MQ library , client or server.Usually the server library contains the s character and the client with the c.
e.g. imq{c|s}23in, imq{c|s}23vn.
when dealing with server binding you need to know the next stuff, the channel name and the server name is ignored, the important parameters is just the queue manager name , and the queues name.
In case you want to connect to the default queue manager name leave the queue manager name empty.
Enjoy
Yaniv T
Subscribe to:
Posts (Atom)