I am a web Developer. Even I do web design but I use the TABLE method for HTML, I want to learn Tableless coding (Div based).
Can anybody suggest me Few Best sites for learn Div Based Coding.
Hi folks,
I think this is an interesting question, at least for me.
I have a list of words, let's say:
photo, free, search, image, css3, css, tutorials, webdesign, tutorial, google, china, censorship, politics, internet
and I have a list of contexts:
Programming
World news
Technology
Web Design
I need to try and match words with the appropriate context/contexts if possible.
Maybe discovering word relationships in some way.
Any ideas?
Help would be much appreciated!
I'm investigating smart pointers with "shared" functionality for Windows CE and Mobile, where the VS 2008 tr1 std::shared_ptr cannot be used (due to linkage to a v.9 dll not present on CE, obviously, if I understand it correctly).
There's a semi-old MSDN Magazine article with sources from a Microsoftie (Eric Niebler): Achieve More Reliable Resource Management with Our Custom C++ Classes.
The reasoning, design and implementation of his shared_any looks solid, but I'm wondering if anyone ever actually tested the lot on any platform (not necessarily WinCe/WM)?
I'm writing application for code generation and I would like to use object explorer control such as the one in visual studio, so I can manually design my objects.
How can I do that?
I'm watching this video, which is pretty good http://www.gotoandlearn.com/play?id=108 It shows how to inherit from DownloadProgressBar to create a customer preloader for your flex app. The DownloadProgressBar class has an overridable getter for the property 'preloader.' Isn't this poor design? What does a property called preloader have anything to do with a class for a DownloadProgressBar?
I have a WF service with a custom activity and a custom designer (WPF). I want to add a validation that will check for the presence of some value in the web.config file.
At runtime I can overload void CacheMetadata(ActivityMetadata metadata) and thus I can do the validation happily there using System.Configuration.ConfigurationManager to read the config file.
Since I also want to do this at design time, I was looking for a way to do this in the designer.
I am doing interviews with from time to time to recruit some not bad people.
And I really think I AM NOT doing to correct Job.
I work in a company when We have to do a lot o DB programming, .NET programming, Java programming, so we need people who are open minded and not focused on a particular tech. Afterall language is a notation, You have to understand what is going under the hood.
I ask people about their project, ask them some coding questions (believe me a SQL question involving a CROSS JOIN is hard), let them write some code,
ask them about oodesign, ask them how they update their knowledge, and stay up to date, do they have FUN when they code (at least sometimes).
Hell I even give them a coding solution for home (3 hours max) to see how they think and code.
And yet my hit rate at hiring junior member (those who live over the initial 3 months) is just about 33%.
So my question, how do YOU make the good interviews, because I think my hit rate is to low?
Do you have any best-practices(should be at least 60-70%)?
p.s.
And i noticed that: the best programmers are lazy, but motivated, just being lazy is not enough:)
But people who write the best code are attentive to details:)
I have to develop a specialised report editor in Java. The user will get a number of fields that can be layed out on a page plus some graphical elements. The resulting report design needs to be serialized into already defined database tables.
Is there any software library that will help to achieve this without reinventing the wheel? I have come across Eclipse GEF and Zest, but I am not sure if this really meets my problem.
I've noticed major music festivals (at least in Australia) and other events that experience a peak in traffic when tickets go on sale have huge problems keeping their websites running well. I've seen a few different techniques used to try combat this such as short sessions and virtual queues but they dont seem to have much effect.
If you were to design a website to sell a lot of tickets in a short amount of time how would you handle scalability? What technologies and programming techniques would you use?
Hello. I'm looking for a JavaScript library for my web application. The application is very data intensive and has rich form controls (almost windows like). AJAX will be used liberally. The development platform is ASP.Net (mostly ASP.Net MVC will be used).
I cannot pursue with ExtJs due to the price/license factor. I checked Qooxdoo but it is very windows-unfriendly. YIU fell short of my needs w.r.t. form controls it offers.
Other libraries like jQuery do not offer rich form controls. So I am looking recommendations for a library that satisfies most of following needs:
Rich UI controls
Solid API for AJAX handling
Employs good programming practices for scripting in frontend (preferably OO but not mandatory)
Free. Else has only development cost and not production
Windows friendly (or at least not unfriendly)
Not monolithic.
Should be independent (Not have development & production dependencies)
Theme'ing should be easy (preferably wrapped by the library)
I am not mentioning other basic needs (like browser compatibility). I hope any popular library will honor those.
Hello there
I am working on a CMS project using ASP.Net 3.5/Visual studio 2008.This is the first week of the project and I am working on the design of the system right now.
Needless to say that this is my first project of this scale and I have no idea of what I am doing.
The requirements of the project ask for a light but functional CMS, one which is easy to deploy.So the question is which database to use in this scenario SQLCE or SQLite?
Please Help?
I'm looking for a free alternative to all the XML/XSD editors around here (that are relatively expensive--at least for me). I totally fail to find one.
I need it to allow me to edit xsd files to help in writting an xml-based language specification. I need it to be visual to help with the design, making it clear. Other features are less interesting for me.
Any suggestion?
My current database design uses MyIsam mainly as the storage engine, I wonder if its possible to split some of the tables into MyIsam and some into Innodb in the same database. Reason of switching some of the tables to Innodb is because i need row-based locking which Innodb offers. I am not too sure whether this would have any effect on replication?
i have a page called a1.aspx, with the Masterpagefile = a1_master.master. Now the master page has its own divs and images for design purposes. I want a way where when i load a1.aspx, certain chosen 's and images should be hidden (visible=false). how can i do this?
how can i change the visibility of a div or an image in the master page from the content page?
When I am loading an Assembly dynamically, then calling a method from it, I appear to be getting the method from Assembly executing before the code in the method that is calling it. It does not appear to be executing in a Serial manner as I would expect. Can anyone shine some light on why this might be happening. Below is some code to illustrate what I am seeing, the code from the some.dll assembly calls a method named PerformLookup. For testing I put a similar MessageBox type output with "PerformLookup Time: " as the text. What I end up seeing is:
First: "PerformLookup Time: 40:842"
Second: "initIndex Time: 45:873"
Imports System
Imports System.Data
Imports System.IO
Imports Microsoft.VisualBasic.Strings
Imports System.Reflection
Public Class Class1
Public Function initIndex(indexTable as System.Collections.Hashtable) As System.Data.DataSet
Dim writeCode As String
MessageBox.Show("initIndex Time: " & Date.Now.Second.ToString() & ":" & Date.Now.Millisecond.ToString())
System.Threading.Thread.Sleep(5000)
writeCode = RefreshList()
End Function
Public Function RefreshList() As String
Dim asm As System.Reflection.Assembly
Dim t As Type()
Dim ty As Type
Dim m As MethodInfo()
Dim mm As MethodInfo
Dim retString as String
retString = ""
Try
asm = System.Reflection.Assembly.LoadFrom("C:\Program Files\some.dll")
t = asm.GetTypes()
ty = asm.GetType(t(28).FullName) 'known class location
m = ty.GetMethods()
mm = ty.GetMethod("PerformLookup")
Dim o as Object
o = Activator.CreateInstance(ty)
Dim oo as Object()
retString = mm.Invoke(o,Nothing).ToString()
Catch Ex As Exception
End Try
return retString
End Function
End Class
Hi Everyone,
I need to make this design: http://www.stephburningham.com/lmg/
into a joomla template but I've never made a joomla template before and the tutorials are so complex!
Can anyone start me off?
Thanks a lot,
Steph
I need to create some mini-windows, like the ones shown in the image bellow, in my winform main form.
It would be nice if they could be draggable, resizable, and, mainly, closable.
How can I approach this design? Has anybody already seen some control (with code available) implementing something similar?
Allow me to pose two coupled questions that might boil down to one about good application design ;-)
What is the best practice for using event based communication in an e4 RCP application?
How can I write simple unit tests (using JUnit) for classes that send/receive events using dependency injection and IEventBroker ?
Let’s be more concrete: say I am developing an Eclipse e4 RCP application consisting of several plugins that need to communicate. For communication I want to use the event service provided by org.eclipse.e4.core.services.events.IEventBroker so my plugins stay loosely coupled. I use dependency injection to inject the event broker to a class that dispatches events:
@Inject static IEventBroker broker;
private void sendEvent() {
broker.post(MyEventConstants.SOME_EVENT, payload)
}
On the receiver side, I have a method like:
@Inject
@Optional
private void receiveEvent(@UIEventTopic(MyEventConstants.SOME_EVENT) Object payload)
Now the questions:
In order for IEventBroker to be successfully injected, my class needs access to the current IEclipseContext. Most of my classes using the event service are not referenced by the e4 application model, so I have to manually inject the context on instantiation using e.g. ContextInjectionFactory.inject(myEventSendingObject, context);
This approach works but I find myself passing around a lot of context to wherever I use the event service. Is this really the correct approach to event based communication across an E4 application?
how can I easily write JUnit tests for a class that uses the event service (either as a sender or receiver)? Obviously, none of the above annotations work in isolation since there is no context available. I understand everyone’s convinced that dependency injection simplifies testability. But does this also apply to injecting services like the IEventBroker?
This article describes creation of your own IEclipseContext to include the process of DI in tests. Not sure if this could resolve my 2nd issue but I also hesitate running all my tests as JUnit Plug-in tests as it appears impractible to fire up the PDE for each unit test. Maybe I just misunderstand the approach.
This article speaks about “simply mocking IEventBroker”. Yes, that would be great! Unfortunately, I couldn’t find any information on how this can be achieved.
All this makes me wonder whether I am still on a "good path" or if this is already a case of bad design? And if so, how would you go about redesigning? Move all event related actions to dedicated event sender/receiver classes or a dedicated plugin?
I am trying to get one of my developers set up to work on a fairly large .NETCF project. When we try to simply deploy the solution and all of its projects to a target device, deploying one of the projects triggers several assemblies from the desktop framework to be copied from the GAC to the device. What on earth could cause this? The assemblies from the "big" framework are ones like System.DirectoryServices, System.Design, and a bunch of others.
I want to gather a list of WPF pitfalls. Issues with WPF that are not that well known and either have some serious design consequences or some major inconveniences.
One topic per answer.
List:
Mouse.GetPosition() does not always
return a correct value.
The
Wpf layout recursion limit is hard
coded to 255.
I have been learning about Lua in the past month and I'm absolutely in love with the language, but all I see around that is built with lua are games. I mean, the syntax is very simple, there is no fuss, no special meaning characters that makes code look like regex, has all the good things about a script language and integrates so painlessly with other languages like C, Java, etc. The only down-side I saw so far is the prototype based object orientation that some people do not like (or lack of OO built-in).
I do not see how ruby or python are better, surely not in performance ( http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=lua&lang2=python ). I was planning on writting a web app using lua with the Kepler framework and Javascript, but the lack of other projects that use lua as a web language makes me feel a bit uneasy since this is my first try with web development.
Lua is considered a kids language, most of you on stackoverflow probably only know the language because of the WoW addons. I can't really see why that is...
http://lua-users.org/wiki/LuaVersusPython
this link provides some insights on Lua against Python, but this is clearly biased.
i am particularly using netbeans gui editor and i am new to gui
i have a jframe created and I added jtabbedpanel.
inside the jtabbedpanel i have 2 panels that i call standard and compact
i have set standardPanel = new ImagePanel(); which ImagePanel.java is located on different java file
how am I suppose to put a panel on different file for reusability ?
i obviously dont want all the codes in a single file.
is this the right way to design a gui ?
thanks
I want to have a main section which is found on services.php and then some sub-sections like services_logodesign.php.
I want to make url's look like:
When I click a button to open services_logodesign.php the browser should show "services/logo design"
I have several other sub-sections, it will be nice to have one code for any other pages.
I am re-factoring my application to implement the MVVM design and i came across my first problem...
Compiler won't let me bind to the Password property of the PasswordBox control.
Anyone have any ideas / suggestions.