Can you list some free CRM webapps? Possibly in PHP, possibly with OpenID support
Tag : php , By : marocchino
Date : March 29 2020, 07:55 AM
This might help you Have you seen the answers to " Which PHP open source CRM should I use?"? It's the first entry under "related" - you might want to search the other questions there too to get more detail about the usability or technical problems with the varying solutions. It seems almost all recommendations boil down to SugarCRM...
|
Using Rx to block (and possibly timeout) on an asynchronous operation
Tag : chash , By : hellboy32
Date : March 29 2020, 07:55 AM
hop of those help? So, one thing to know about Rx I think a lot of people do at first (myself included!): if you're using any traditional threading function like ResetEvents, Thread.Sleeps, or whatever, you're Doing It Wrong (tm) - it's like casting things to Arrays in LINQ because you know that the underlying type happens to be an array. The key thing to know is that an async func is represented by a function that returns IObservable - that's the magic sauce that lets you signal when something has completed. So here's how you'd "Rx-ify" a more traditional async func, like you'd see in a Silverlight web service:IObservable<byte[]> readFromNetwork()
{
var ret = new AsyncSubject();
// Here's a traditional async function that you provide a callback to
asyncReaderFunc(theFile, buffer => {
ret.OnNext(buffer);
ret.OnCompleted();
});
return ret;
}
// Make it into a sync function
byte[] results = readFromNetwork().First();
// Keep reading blocks one at a time until we run out
readFromNetwork().Repeat().TakeUntil(x => x == null || x.Length == 0).Subscribe(bytes => {
Console.WriteLine("Read {0} bytes in chunk", bytes.Length);
})
// Read the entire stream and get notified when the whole deal is finished
readFromNetwork()
.Repeat().TakeUntil(x => x == null || x.Length == 0)
.Aggregate(new MemoryStream(), (ms, bytes) => ms.Write(bytes))
.Subscribe(ms => {
Console.WriteLine("Got {0} bytes in total", ms.ToArray().Length);
});
// Or just get the entire thing as a MemoryStream and wait for it
var memoryStream = readFromNetwork()
.Repeat().TakeUntil(x => x == null || x.Length == 0)
.Aggregate(new MemoryStream(), (ms, bytes) => ms.Write(bytes))
.First();
|
http (json) library, client and server, possibly asynchronous
Date : March 29 2020, 07:55 AM
Any of those help Maybe you should take a look at netty: http://netty.io/Once has been part of jboss and is now a stand-alone project.
|
MVC Session Possibly Not Saving. Possibly Dump Contents To Page?
Tag : chash , By : joshboles
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , I strongly suggest that you do not put security components in session. I would also encourage you not to roll your own authorization system. Instead, use the security components built into MVC. An overview of the components is here: http://www.asp.net/mvc/overview/security. The built-in AuthorizeAttribute can be used with Windows Auth to specify AD groups which should have access to a page, as described here: http://msdn.microsoft.com/en-us/library/gg703322(v=vs.98).aspx. In answer to your question: @{
var sessionItems = Session.Keys.OfType<string>().ToDictionary (k => k, k => session[k]);
var json = Newtonsoft.Json.JsonConvert.SerializeObject(sessionItems, Newtonsoft.Json.Formatting.Indented);
}
<pre>
@Html.Raw(json);
</pre>
|
Is iOS glGenerateMipmap synchronous, or is it possibly asynchronous?
Tag : ios , By : adrianmooreuk
Date : March 29 2020, 07:55 AM
|