Hi all,
I'm using C#, MVC, NHibernate and StructureMap as my IoC container, and need some ideas regarding my domain model.
The application I'm working has two parts: an Authoring part and a Runtime part. The idea is to allow the user to create a webpage in Authoring (mostly a form actually) by choosing from a set of predefined controls. That webpage will be later used as a form in a call center environment (Runtime part), or may be used in an intranet portal, etc. Basically something similar to what a CMS would do. The difference is, of course, that the webpage/form the author generates will be used and fulfilled in runtime, and that authros should be able to freely create the webpage they want without limitations.
I have a draft working model that allows a RunController to iterate over the ScriptPage (my class for the "generated webpage") Controls collection and uses partial views to render each of them. Works kind of fine. Basically I have a common ScriptControl class, and then I can create for example a TextInputControl or a DropDownControl by inheriting from that base class.
I can also figure out the Authoring part of the app, although that will surely be fun in itself for sure. :)
The biggest problem I have now is persistance. In order to be flexible, I want to be able to add more controls, and template controls (think of an Address composite control) in sepparate DLLs, so I think having a relational model that handles very possible control is not the way to go.
My current thinking is using a kind of ObjectStore: binary-serializing the ScriptPage object that contains the List collection and deserializing at Runtime, but I'm not sure how good will it work with NHibernate and how good the performance will be. Serializing a small "page" with 10 controls results in 7964 bytes, for example.
Any ideas out there?
Thanks in advance, excuse the length. ;)
It doesn't seem like SQL Management Studio Express 2005 considers Internet Options proxy settings defined for the LAN when trying to connect to SQL Server 2005.
Is there a way to make it use the proxy settings?
So I've been learning C++ and SDL to make some basic 2d games. I want to create a game sort of like World of Warcraft but a 2D version. I want it to be on-line and use a database or something to start data like amount of Gold, HP, etc. I was wondering though, if I do this in SDL, would it still work on-line or would the user have to download SDL themselves to play?
I just want a game like this but be able to play it with some friends, just for learning purposes you know. I was also looking at DirectX because everyone has that on windows pretty much. Anyways much help is appreciated, thanks!
Well, I would like to build a file hosting website just like other already did, but it is going to be something different by adding search engine, allowing download and upload in full speed for any user, and so on. Unfortunately the web hosting plans, which declared to support UNLIMITED SPACE rarely allows me to host files on those space. So what I need is the unlimited file storage service which could host all of my users' files.
I found Amazon S3, already provides such service, but could anybody recommends me for other better ?
Hello guys Sorry for my stupid question regarding to my yesterday question its not solved
yet even the advice you have given but still not working. i have removed all of spaces but
still showing the problem for me. it's working perfect in localhost but not in CPANEL.
Here is the errors which give:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/scalepro/public_html/Admin Panel/Remote Employee/main.php:1) in /home/scalepro/public_html/Admin Panel/Remote Employee/main.php on line 1
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/scalepro/public_html/Admin Panel/Remote Employee/main.php:1) in /home/scalepro/public_html/Admin Panel/Remote Employee/main.php on line 1
Warning: Cannot modify header information - headers already sent by (output started at /home/scalepro/public_html/Admin Panel/Remote Employee/main.php:1) in /home/scalepro/public_html/Admin Panel/Remote Employee/main.php on line 13
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in Unknown on line 0
ANY ONE PLEASE ???
Here is my code:
<?php session_start();
require_once('../../Admin Panel/db.php');
if(isset($_POST['email']) && !empty($_POST['email']) && isset($_POST['password']) && !empty($_POST['password']))
{
$email = $_POST['email'];
$password = $_POST['password'];
$query="SELECT RemoteEmployeeFullName, RemoteEmployeeEmail, RemoteEmployeePassword FROM remoteemployees WHERE RemoteEmployeeEmail='".$email."' AND RemoteEmployeePassword='".$password."'";
$queryrun=$connection->query($query);
if($queryrun->num_rows > 0)
{
$_SESSION['email']=$RemoteEmployeeFullName;
header("Location: /home/scalepro/public_html/Admin Panel/Remote Employee/REPLists.php");
}
else
{
echo 'Email: <b>'.$email. '</b> or Password <b>'. $password.'</b> Is Not Typed Correctly Try Again Please!.';
header( "refresh:5;url= /home/scalepro/public_html/spd/myaccount.php" );
}
}
else
{
header( "refresh:5;url= /home/scalepro/public_html/spd/myaccount.php" );
}
?>
if the condition gets true this will be redirected to a page by the name of REPLists.php
here is the page.
<?php session_start();
require_once('../../Admin Panel/db.php');
?>
<html>
<head>
<style>
.wrapper
{
width:1250px;
height:auto;
border:solid 1px #000;
margin:0 auto;
padding:5px;
border-radius:5px;
-webkit-border-radius:5px;
-moz-border-radius:5px;
-ms-border-radius:5px;
}
.wrapper .header
{
width:1250px;
height:20px;
border-bottom:solid 1px #f0eeee;
margin:auto 0;
margin-bottom:12px;
}
.wrapper .header div
{
text-decoration:none;
color:#F60;
}
.wrapper .header div a
{
text-decoration:none;
color:#F60;
}
.wrapper .Labelcon
{
width:1250px;
height:29px;
border-bottom:solid 1px #ccc;
}
.wrapper .Labelcon .Label
{
width:125px;
height:20px;
float:left;
text-align:center;
border-left:1px solid #f0eeee;
font:Verdana, Geneva, sans-serif;
font-size:14.3px;
font-weight:bold;
}
.wrapper .Valuecon
{
width:1250px;
height:29px;
border-bottom:solid 1px #ccc;
color:#F60;
text-decoration:none;
}
.wrapper .Valuecon .Value
{
width:125px;
height:20px;
float:left;
text-align:center;
border-left:1px solid #f0eeee;
font-size:14px;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="header">
<div style="float:left;"><font color="#000000">Email:
</font>
<?php
if(isset($_SESSION['email']))
{
echo $_SESSION['email'];
}
?>
</div>
<div style="float:right;"> <a href="#">My Profile</a> | <a href="logout.php">Logout</a></div>
</div>
<div class="Labelcon">
<div class="Label">Property ID</div>
<div class="Label">Property Type</div>
<div class="Label">Property Deal Type</div>
<div class="Label">Property Owner</div>
<div class="Label">Proposted Price</div>
</div>
<?php
if(!isset($_SESSION['email']))
{
header('Location:../../spd/myaccount.php');
}
else
{
$query = "SELECT
properties.PropertyID,
properties.PropertyType,
properties.PropertyDealType,
properties.Status,
properties.PropostedPrice,
remoteemployees.RemoteEmployeeFullName,
propertyowners.PropertyOwnerName,
propertydealers.PropertyDealerName
FROM remoteemployees,
propertyowners,
propertydealers,
properties
WHERE
properties.PropertyOwnerID=propertyowners.PropertyOwnerID
AND properties.PropertyDealerID=propertydealers.PropertyDealerID
AND remoteemployees.RemoteEmployeeID=properties.RemoteEmployeeID
ORDER BY properties.PropertyID
";
$query_run = $connection->query($query);
if( $connection->error ) exit( $connection->error );
while($row=$query_run->fetch_assoc())
{
?>
<div class="Valuecon">
<div class="Value"><?php echo $row['PropertyID'] ?></div>
<div class="Value"><?php echo $row['PropertyType'] ?></div>
<div class="Value"><?php echo $row['PropertyDealType']?></div>
<div class="Value"><?php echo $row['PropertyOwnerName'] ?></div>
<div class="Value"><?php echo $row['PropostedPrice'];?></div>
</div>
<?php } }?>
</div>
</body>
</html>
Art of Test produced a nice UI testing tool for free -- WebAii Framework-- that I've been using to add client-side DOM unit tests to my projects. Recently they merged with Telerik and it's now a commercial product. From free to $1500 is suddenly very expensive. Does anybody know if the community edition is still available, or even the last free version is available for download? At least I can finish off with that.
...for a client. Free or not, doesn't matter if its worth it. He told me he wants to do a Craigslist clone serving one specific geographical area only (a city that shall remain unnamed). It should also be multilingual and open-source (I want to be able to modify the code as needed).
Right now I'm looking at ikiclassifieds.com, open-classifieds.com, and noahsclassifieds.org.
Does anyone know of a classifieds software that meets the above mentioned criteria?
Thanks!
How can I get the data from this xml site ( http://xboxapi.duncanmackenzie.net/gamertag.ashx?GamerTag=Festive+Turkey ) and specify the data and use it as a string?
I have been using DabbbleDB online database for storing/retrieving values for one of my iPhone applications.
I am using their JSON response for retrieving the records.
The problem that I am facing is that if there are a large number of records in the database, it takes a long time to get the response from the server and then to parse the JSON response.
Instead I would like to to get a set of records at a time and run a loop to fetch all the records in background.
I do not know whether we can query for a set of records at a time from online databases like DabbleDB.
Anybody having an idea, please help.
We have recently developed an iPad application and now need to start demonstrating it to customers and prospects as part of our overall product suite during webinars. As part of our Agile methodology, we also need to periodically review the application with key customers without having to distribute it since the application is not a standalone application and requires a connection to web services installed at each customer site.
We have searched high and low for any solution that doesn't involve rooting the device but have been unable to find one. The most common suggestion seems to be to point a webcam at the device, but that comes across as very unprofessional.
I know that there are VGA out adapters that can be plugged into the iPad and we have used these to present through a projector when the customer is physically present, but this is a relatively rare occurrence. Perhaps there are solutions that we are unaware of that can be used to send VGA output back into a desktop device for screen sharing?
I'm getting a fairly long and confusing link error, and would love it if I could just paste it into some textbox on some website and have the names un-mangled for me.
Does anyone know of such a service?
I have an AA in Social Science and want to earn my BS in Software Engineering. However, I work full time and have a family to support, so my only option is online. I'm really considering Colorado Technical University. They promote a program called Bachelor of Science in Software Engineering on their website and Google searches, however, while I'm filling out the application; the program is actually called Bachelor of Science in Information Technology with a concentration in Software Systems Engineering Specialization. This shoots up a red flag for me.
I spent the past week looking online for all kinds of schools and would prefer to go to a "brick and mortar" school's online program, however those only seem to be for international students, which I am not.
Living in Colorado Springs, CO (and being prior Army) there are tons of Government DOD contractors, Lockheed Martin, Boeing, etc... that need software engineers and I'm just not sure what school they would like to see me coming from. Not only a reputable school, but also one that has great programs and will teach me real world situations and actually prepare me for my career.
I would greatly appreciate any and all information or help you can offer.
Apple opened the flood gates of iPhone 4S! Now you can buy the unlocked iPhone 4S directly from Apple instead of buying them from grey market. The Apple US Online store has started accepting order for unlocked iPhone 4S and at the moment the expected shipping time is around 1 to 2 weeks.
Price of the phones starts from $649 for 16GB and goes up to $849 for 64GB version. These unlocked phones are free from monthly contracts, works on any GSM network around the globe. Sorry CDMA networks, unlocked iPhone 4S is not yet ready for you!
Its a good move from Apple. This helps people from staying away from multi-year contracts and also visitors returning from USA now can buy an original unlocked iPhone to use in their home countries.
Buy iPhone 4S from Apple Online Store
This article titled,Order Unlocked iPhone 4S From Apple Online Store. $649, No Contract, Any Network., was originally published at Tech Dreams. Grab our rss feed or fan us on Facebook to get updates from us.
I'm a nerdy slacker type who didn't get my life together till I was 30. I've had a real job for a couple years doing C#/SQL. I've gotten several raises, but I'm making less than most developers, and the atmosphere is ... not positive.
Looking for a new job, I think my applications get thrown out because I don't have a degree. And I want to finish a Bachelor's just to feel like less of a loser.
I have a lot of college credits from 1996-2003 and a low GPA, so I don't know if that's worth much.
An online degree looks like a good option, but I just don't know what I should be looking at for online schools because they all look like fake degrees. If they had programs equivalent to a real Comp Sci degree, I don't think they would have weird sounding names like they do.
University of Phoenix has a B.S./Information Technology-Software Engineering.
DeVry has a B.S./Computer Engineering Technology program.
But that's not CS, and most other things I see have even more fake-sounding names.
Are these useless degrees? Some people say DeVry and UoP are acceptable, some people say they're a joke.
I have enough experience now, though, that maybe all I'm missing is being able to check the box that I have a 4-year degree.
Harvard Extension seems like a real degree, even if it isn't a real Harvard degree, but I'd have to live there at least 3 months, which kinda defeats the purpose of an online degree fitting around work.
I am currently testing ZFS (Opensolaris 2009.06) in an older fileserver to evaluate its use for our needs. Our current setup is as follows:
Dual core (2,4 GHz) with 4 GB RAM
3x SATA controller with 11 HDDs (250 GB) and one SSD (OCZ Vertex 2 100 GB)
We want to evaluate the use of a L2ARC, so the current ZPOOL is:
$ zpool status
pool: tank
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
afstank ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c11t0d0 ONLINE 0 0 0
c11t1d0 ONLINE 0 0 0
c11t2d0 ONLINE 0 0 0
c11t3d0 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c13t0d0 ONLINE 0 0 0
c13t1d0 ONLINE 0 0 0
c13t2d0 ONLINE 0 0 0
c13t3d0 ONLINE 0 0 0
cache
c14t3d0 ONLINE 0 0 0
where c14t3d0 is the SSD (of course). We run IO tests with bonnie++ 1.03d, size is set to 200 GB (-s 200g) so that the test sample will never be completely in ARC/L2ARC. The results without SSD are (average values over several runs which show no differences)
write_chr write_blk rewrite read_chr read_blk random seeks
101.998 kB/s 214.258 kB/s 96.673 kB/s 77.702 kB/s 254.695 kB/s 900 /s
With SSD it becomes interesting. My assumption was that the results should be in worst case at least the same. While write/read/rewrite rates are not different, the random seek rate differs significantly between individual bonnie++ runs (between 188 /s and 1333 /s so far), average is 548 +- 200 /s, so below the value w/o SSD.
So, my questions are mainly:
Why do the random seek rates differ so much? If the seeks are really random, they should not differ much (my assumption). So, even if the SSD is impairing the performance it should be the same in each bonnie++ run.
Why is the random seek performance worse in most of the bonnie++ runs? I would assume that some part of the bonnie++ data is in the L2ARC and random seeks on this data performs better while random seeks on other data just performs similarly like before.
The company I work for uses vb.net since there are many programmers who moved up from vb6 to vb.net. Basically more vb.net resources in the company for support/maintenance vs c#. I am a c# coder and was wondering if I could just continue coding in c# and just use the many online free c# to vb.net code convertors. That way, I will be more productive and also be more marketable since there are more c# jobs compared to vb.net jobs. I have done vb6 many years ago and I am comfortable debugging vb.net code. It's just the primary coding language. I am more comfortable in c#. Will I lose anything if I use this approach. (code conversion). Based on what i read online the future of vb.net is really "Dim". Please advise. thank you
If you love playing Super Mario Brothers, but hate the hassle of dealing with or setting up the game console, then you will be pleased to know a new and complete version is now available to play online. Josh Goldberg has worked hard to recreate the classic game in its entirety in HTML5, so sit back, relax, and get ready to enjoy all that Mario goodness via your favorite browser. There are three ‘modes’ of game play available: play through reproductions of the original classic levels, test yourself against randomly generated levels, or use the level editor to create custom levels. Special Note: There are two online versions available…one for playing in Google Chrome and one for playing in all other browsers. For our example we chose to use the non-Chrome version. Play Full Screen Mario [For All Other Browsers] Play Full Screen Mario [Google Chrome Version] [via CNET News]
I'm having difficulties to find a backup and synchronization solution with the following characteristics:
Cross-platform: Windows, Linux, Mac
Offsite backup (so Internet Backup)
Data deduplication
Transfer only new/modified bits of modified files
Secure: Data encrypted before leaving computer
Maintain multiple versions of files (even deleted files)
Folder synchronization integrated with backup and across multiple computers connected to the internet (not necessarily in the same LAN)
I think that the Folder Sync feature needs a better explanation.
The use case is this: you have a desktop pc and a laptop. The desktop pc contains a folder with some files and this folder is part of the backup (so it was selected to be backed up). The laptop does not contain that folder or that files at all.
Then you're abroad with your laptop and you need that folder. So you want to be able to open the backup program, select that folder from the backup and download it in your laptop mantaining it synchronized with the backed up version. When you then come back home and switch on your desktop pc you want the folder we're talking about to be updated in the desktop PC.
Does anyone knows any service with all these features?
I've only found SpiderOak to support all the features I've mentioned but I'm not completely satisfied by the time taken to complete a backup. Sometimes it seems to hang for minutes with no reasons at all and folder synchronization occurs only after all files are backed up (instead folder sync should have a separated queue independent from other backup operations and synchronization should occurs frequently... for example every 5 minutes or less, independently from the frequency of normal backup operations)
I am replacing an old Linux file server serving NFS and CIFS. For the new server (still serving CIFS and NFS), I would like to have software that automatically and efficiently maintains old revisions of files in parallel trees, so that they can be accessed by users without special tools. I am looking for software that is akin to Time Machine or Flyback, but works well on a server.
The dataset is some 10000 files weighing maybe 60 GB. Changes are relatively few, usually less than 100 files changes daily.
Using LVM snapshots will not cut it, as the old revisions must reside on a separate set of disks from the live data.
Edit: To clarify: keeping old revisions is non-vital addition to the solution, so any suggestion will have to stay in the range of some hundred euros.
Does anyone know of some good Mac software to sync a network attached storage device or a drobo to Amazon S3?
I'd love to mail them a storage device for the first dump and then do nightly syncs.
Is there something equivalent to WebDrive but free or open source ?
Update: I want on Windows if possible and be able to save a file on a virtual ftp drive from any software.
I know already I can type "ftp://[email protected]" into an Explorer address as suggested below but that doesn't transform it into a true virtual drive as i cannot save file from notepad for example.
Our SOA Specialized partner Griffiths Waite developed a series of Oracle Fusion Middleware online seminars. Mark Simpson Oracle ACE Director gives an insight of the Oracle strategy, how Oracle is using Fusion Middleware to build Fusion Applications and how you can profit in your project from the Fusion Architecture. Giving examples how customers can adopt use cases for Application Integration & Composite Application Portals & Application Modernization & Business Process Management. If you are interested make sure you watch the online seminar and take the SOA Maturity Assessment For more information on SOA Specialization and the SOA Partner Community please feel free to register at www.oracle.com/goto/emea/soa (OPN account required) Blog Twitter LinkedIn Mix Forum Wiki Website Technorati Tags: Mark Simpson,Griffiths Waite,Fusion Middleware,Fusion Applications,SOA,Oracle,SOA Community,OPN,SOA Specialization,Specialization,Jürgen Kress