tag:blogger.com,1999:blog-36992961.comments2023-05-27T07:23:43.214-07:00Bits and piecesM3hm0^2d:http://www.blogger.com/profile/08120930237205969359noreply@blogger.comBlogger48125tag:blogger.com,1999:blog-36992961.post-51527660300185429402015-07-09T13:25:44.663-07:002015-07-09T13:25:44.663-07:00Hi there friends, its great piece of writing conce...Hi there friends, its great piece of writing concerning <br />teachingand entirely defined, keep it up all the time.<br /><br /><br />Review my web site ... <a href="http://mahjong-mahjong.blogspot.com" rel="nofollow">Mahjong</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-3214854087695271832014-01-09T22:50:37.933-08:002014-01-09T22:50:37.933-08:00http://www.youtube.com/watch?v=4XpnKHJAok8http://www.youtube.com/watch?v=4XpnKHJAok8Raghavhttps://www.blogger.com/profile/14073733432551715775noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-29488903127437361952013-07-02T13:01:20.012-07:002013-07-02T13:01:20.012-07:00WOW just what I was looking for. Came here by sear...WOW just what I was looking for. Came here by searching for css background position from right edge<br /><br />Also visit my web site ... <a href="http://board.x86asm.net/profile.php?mode=viewprofile&u=167522" rel="nofollow">css background-position-y firefox</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-66712987339555438202013-03-29T05:09:32.267-07:002013-03-29T05:09:32.267-07:00I want to just alert on closing browser. not refre...I want to just alert on closing browser. not refreshing. have any solution.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-55015851055696383362013-03-09T09:14:23.385-08:002013-03-09T09:14:23.385-08:00"saves me time in start and deploy" - a..."saves me time in start and deploy" - a start is very important. Sometimes the biggest step.<br /><br />I would also agree on Spring in comparison to Hibernate for a quicker start and push.<br /><br />BTW, Turbogears does support AJAX. In its later versions with some more components like dojo I presume.<br /><br />It is good to speak and discuss on varieties of such possibilities. Do keep up your good work and post them. :)<br /><br />All the best!Raghavhttps://www.blogger.com/profile/14073733432551715775noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-1147620434361626082013-03-07T07:23:41.064-08:002013-03-07T07:23:41.064-08:00Design patterns don't solve every problem in h... Design patterns don't solve every problem in hand, each problem needs a specific design pattern tailored for it's own to make sense.<br /> <br /> You either change/learn by doing , or you learn from others. You can't change anybody but you can provide honest comments to make them know what they should do.(Unless they hear you well. :) )<br /><br /> But if we want to change ourselves, just read the above points with you in mind. It might help in your sense. Let me know if it helps in you in some way. :)<br /> M3hm0^2d:https://www.blogger.com/profile/08120930237205969359noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-72270547266018492852013-03-07T07:14:12.465-08:002013-03-07T07:14:12.465-08:00Thanks for your comments Raghav. I don't know ... Thanks for your comments Raghav. I don't know much about TurboGears , but it looks completely aligned for what I am doing. But it misses somethings like templating for AJAX Responses, where we can fit in some drivers, but still the definition of code would be specific to each project we do right.<br /><br /> So What I have done is an input which just defines a JSON of what is the UI, how to tie to DB and what actions available.<br /> <br /> The builder will take care of what we need for initial kickstart of CRUD operations, then we will have some code , to work upon instantly to include the logic we need.<br /><br /> But I like the templating stuff mentioned here, I had looked in JinJa2 http://jinja.pocoo.org/ too. But I like Spring/JPA rather Hibernate combination, which I can say the most simplest form of way of doing things in JAVA. So I am tied to it for several years, I like that.<br /><br /> But atlast it saves me time in start and deploy it asap. That matters to me a lot :)<br /> M3hm0^2d:https://www.blogger.com/profile/08120930237205969359noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-16237697170510021002013-03-07T02:58:32.392-08:002013-03-07T02:58:32.392-08:00One more question ... How will you provide a desig...One more question ... How will you provide a design pattern to human who is already designed that way !!!???Thanikahttps://www.blogger.com/profile/01680456570010390402noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-37519276849466222252013-03-07T02:52:51.100-08:002013-03-07T02:52:51.100-08:00Hi Boss,
All this Gyan will be usefull to me, i...Hi Boss,<br /><br /> All this Gyan will be usefull to me, i can follow it when you tease me...lol :)<br /><br />ThanikachalanThanikahttps://www.blogger.com/profile/01680456570010390402noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-37710978303800376702013-03-07T00:53:09.212-08:002013-03-07T00:53:09.212-08:00"So what it would be like a input mechanism w..."So what it would be like a input mechanism where we say" - <br />I guess turbo gears with <br />* JS in the UI side<br />* Python on the server/ processing side and<br />* JSON to run the errand (even a xml would do it, as its an errand, which is to be very quick, JSON should be THE thing)<br /><br />a framework like turbogears should be a perfect thing.<br /><br />Sure you must have had a look at TG, anyways http://turbogears.org/1.1/docs/BigPicture.html<br /><br />TG also provides excellent ways to communicate with DB using a DAO/ DB layer of code (and with SQLAlchemy from pylons)... and the link here is from a old version on TG. TG's later versions give excellent templating capabilities esp. with a MAKO or a GENSHI... where with help of a JS framework like jquery or dojo or node.js for example might make the making of a web app comparatively much simpler than a Spring/ Hibernate setup.<br /><br />Having said that my opinion might be heavily biased as I personally believe Python as the language which is has the ninja of perl into it and the robust-ness of Java into it.<br /><br />Let me know what you think.<br /><br />PS: I am yet to have a look at Spring-ROO, anything to go hit at?Raghavhttps://www.blogger.com/profile/14073733432551715775noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-44483063240942730232013-03-06T12:35:15.041-08:002013-03-06T12:35:15.041-08:00Always its good 2 be shared, good work my wishes b...Always its good 2 be shared, good work my wishes but its a long way 2 me - vijay anandh Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-28996357974017805792013-03-02T18:53:07.211-08:002013-03-02T18:53:07.211-08:00Pretty! This was an incredibly wonderful article. ...Pretty! This was an incredibly wonderful article. Thanks for providing <br />this information.<br /><br />Look into my website <a href="http://myplusthemes.com/" rel="nofollow">google chrome themes</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-57212181404376134362012-11-13T22:55:07.482-08:002012-11-13T22:55:07.482-08:00Hi, just wanna ask. How can I make your code work ...Hi, just wanna ask. How can I make your code work with DevExpress controls (ex. DevExpress buttons)?<br /><br />Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-72665780694505171612012-08-17T17:48:21.618-07:002012-08-17T17:48:21.618-07:00Liked the way you explained Raghav! Realization an...Liked the way you explained Raghav! Realization and learning differ at which part of our life we pursue it.<br /><br /> Hope this Independence Day, really works on our Liberating ourselves from the shackles we are tied ourselves.<br /><br /> Keep up :)M3hm0^2d:https://www.blogger.com/profile/08120930237205969359noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-73269257545768137792012-08-16T04:18:15.425-07:002012-08-16T04:18:15.425-07:00EGo - i have been told often, to read as, Edging G...EGo - i have been told often, to read as, Edging God out!<br /><br />Realization of the 'who am i" is a big step and a continuous process. Might give the exact revelations even in the last breath or just in a very causal moment. So casual we might just have missed it.<br /><br />rather a step at a time, like your suggestion with a certain specific points (maybe even custom) would increase the probability of the realization or not missing out 'that' casual moment.<br /><br />other stuff - are of no matter. a ride, a travel, marriages, kids, friends, jobs, a meal, a cozy rug or anything in mass or volume or perception might bring the scenario for that casual moment.<br /><br />a nice message on a good day... we have 'the' freedom and not the knowledge of realization to accept it!Raghavhttps://www.blogger.com/profile/14073733432551715775noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-50033325792859845872012-08-14T09:59:57.732-07:002012-08-14T09:59:57.732-07:00This was long time posted, and here is my thought ...<br /> This was long time posted, and here is my thought of doing this.<br /> <br /> We had a editor which loads in the page and user can edit documents, in the mean time if the user press the refresh keys by mistake we need to make sure whether user wants to leave the page or not. So I searched for a good solution never found and got interested in hacking the behaviour and got dirty :) <br /><br /><br /> But all these years experience on the web, intrigues me about this solution. It's not advisable to keep someone is site unless you have a real need.<br /><br /> We have good alternatives, instead just showing nasty popups (OK! Just I made this work for my own interest and fun in exploring the possibility) , the possibilities are:<br /><br /><br /> 1. Use this feature ONLY in the pages if you think the user might in middle of something say user using a editor in your page and they choose by mistake/wantedly pressed the refresh button. We can make sure from the user.<br /><br /> 2. For Shopping/e-commerce sites where you might have to follow a different approach about having it in the user session, and assisting them for unsaved data like Amazon, Gmail etc.,<br /><br /> 3.You can use Rich client techniques to have your information stored using GWT/Gears/HTML5 etc., when the user visits your site next time.<br /><br /><br /> So there are endless possibilities and oppurtunities to do this in a more elegant and effective way in terms of usability. I would like to see if anymore innovative thoughts can be implied here. <br /><br /> M3hm0^2d:https://www.blogger.com/profile/08120930237205969359noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-88935020886236761252012-08-14T09:44:53.707-07:002012-08-14T09:44:53.707-07:00Hi All,
Good if it helps someone.
Thank you d...Hi All, <br /><br /> Good if it helps someone.<br /><br /> Thank you dinesh for tweaking the code. Hope this helped.<br /><br /> @Anonymous1: I will try next time to put more my thought process and pros and cons of each. Thanks for sharing your view it's highly appreciated.<br /><br /> M3hm0^2d:https://www.blogger.com/profile/08120930237205969359noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-36377861810183221922010-04-21T02:27:44.465-07:002010-04-21T02:27:44.465-07:00The above code works fine for all condition ,but i...The above code works fine for all condition ,but if user press ctl+shift+R for refresh then this shows the pop up. To prevent this i used this code with the above mentioned code ,<br /><br /> var isClose = true;<br /> document.onkeydown = checkKeycode;<br /> function checkKeycode(evt)<br /> {<br /> var keycode =(evt.which) ? evt.which : event.keyCode;<br /> //alert(" keycode"+keycode);<br /> if(keycode == 116 || keycode == 82 || keycode == 17 ||keycode == 16)<br /> {<br /> isClose = false;<br /><br /> }<br /> }<br /><br />and change in the if clause<br /> <br />if(!aClick && (e.target==document || e.clientX<0 || e.clientY<0) && isClose)Dineshhttps://www.blogger.com/profile/10688467668696739115noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-20887202155393915352010-02-21T10:27:31.267-08:002010-02-21T10:27:31.267-08:00Genial brief and this fill someone in on helped me...Genial brief and this fill someone in on helped me alot in my college assignement. Thanks you seeking your information.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-2892305287796792582010-02-20T11:25:33.618-08:002010-02-20T11:25:33.618-08:00You have to express more your opinion to attract m...You have to express more your opinion to attract more readers, because just a video or plain text without any personal approach is not that valuable. But it is just form my point of viewAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-38734739383468742142009-12-16T02:10:21.454-08:002009-12-16T02:10:21.454-08:00Good Afternoon!!! mehmoodbluffs.blogspot.com is on...Good Afternoon!!! mehmoodbluffs.blogspot.com is one of the most excellent informational websites of its kind. I take advantage of reading it every day. Keep it that way.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-3240452512657709892009-11-02T21:22:23.445-08:002009-11-02T21:22:23.445-08:00I also tried doing but it did not work. Please hel...I also tried doing but it did not work. Please help me providing a cross browser close warning script which should only work when page is refreshed or closed.Anonymoushttps://www.blogger.com/profile/11488075403845604643noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-83974032031853444372009-08-13T06:19:33.959-07:002009-08-13T06:19:33.959-07:00After hours of struggling and fruitless Googling I...After hours of struggling and fruitless Googling I finally came across this thread and it has certainly saved me from premature balding! Big thanks to Mehmood for this script. In my application I use this script to check whether the tab/browser is being closed, then if it is, I redirect to another ASP page where I can execute server-side functions to abandon the session and remove temporary shortlist values from the database. Being able to differentiate between page reload/navigation and actually closing the tab/browser is a real life-saver.Orennoreply@blogger.comtag:blogger.com,1999:blog-36992961.post-50333044069465742492009-07-16T23:01:52.404-07:002009-07-16T23:01:52.404-07:00Hi,
In the above code, in case of Firefox 3.0.11,...Hi, <br />In the above code, in case of Firefox 3.0.11, we are not able to determine the clientX, clientY property of the event. I have also tried screenX, pageX etc. Therefore I am not able to differentiate between a postback and window closing event. <br />Please help me in this regard.vishal dwivedihttps://www.blogger.com/profile/01616685767553606783noreply@blogger.comtag:blogger.com,1999:blog-36992961.post-51317148467432968132009-06-10T23:45:48.981-07:002009-06-10T23:45:48.981-07:00you need stop showing the confirm dialog on page r...you need stop showing the confirm dialog on page refresh ?M3hm0^2d:https://www.blogger.com/profile/08120930237205969359noreply@blogger.com