Joshua Yates

Joshua Yates

1620714660

The Dark Side Of Events

Events are our industry’s near and dear. All technological conferences are full of talks on event sourcing, event driven architectures, or event driven integrations. So hey, why not make another one? …But a bit different: Let’s talk about the dark side of this pattern. Events, as any tool, can be used productively or destructively. During the last 8 years, at Internovus, we found so many creative ways to do the latter: * The different ways events can introduce coupling so strong, it will make the classic enterprise monolith envy * Multiple ways of using events to introduce accidental complexity * How to use events to turn a microservice into an architectural trojan horse; And * Why some events, just like underwear, better be kept private Those sights are not for the faint of heart, but fear not. You will get heuristics that will help you identify those situations, eliminate event-driven accidental complexities, and make events great again.

Check out more of our talks at:
https://ndcsydney.com
https://www.ndcconferences.com/

#developer

What is GEEK

Buddha Community

The Dark Side Of Events
Zachary Palmer

Zachary Palmer

1555901576

CSS Flexbox Tutorial | Build a Chat Application

Creating the conversation sidebar and main chat section

In this article we are going to focus on building a basic sidebar, and the main chat window inside our chat shell. See below.

Chat shell with a fixed width sidebar and expanded chat window

This is the second article in this series. You can check out the previous article for setting up the shell OR you can just check out the chat-shell branch from the following repository.

https://github.com/lyraddigital/flexbox-chat-app.git

Open up the chat.html file. You should have the following HTML.

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Chat App</title>
    <link rel="stylesheet" type="text/css" media="screen" href="css/chat.css" />
</head>
<body>
    <div id="chat-container">
    </div>
</body>
</html>

Now inside of the chat-container div add the following HTML.

<div id="side-bar">
</div>
<div id="chat-window">
</div>

Now let’s also add the following CSS under the #chat-container selector in the chat.css file.

#side-bar {
    background: #0048AA;
    border-radius: 10px 0 0 10px;
}
#chat-window {
    background: #999;
    border-radius: 0 10px 10px 0;
}

Now reload the page. You should see the following:-

So what happened? Where is our sidebar and where is our chat window? I expected to see a blue side bar and a grey chat window, but it’s no where to be found. Well it’s all good. This is because we have no content inside of either element, so it can be 0 pixels wide.

Sizing Flex Items

So now that we know that our items are 0 pixels wide, let’s attempt to size them. We’ll attempt to try this first using explicit widths.

Add the following width property to the #side-bar rule, then reload the page.

width: 275px;

Hmm. Same result. It’s still a blank shell. Oh wait I have to make sure the height is 100% too. So we better do that too. Once again add the following property to the #side-bar rule, then reload the page.

height: 100%;

So now we have our sidebar that has grown to be exactly 275 pixels wide, and is 100% high. So that’s it. We’re done right? Wrong. Let me ask you a question. How big is the chat window? Let’s test that by adding some text to it. Try this yourself just add some text. You should see something similar to this.

So as you can see the chat window is only as big as the text that’s inside of it, and it is not next to the side bar. And this makes sense because up until now the chat shell is not a flex container, and just a regular block level element.

So let’s make our chat shell a flex container. Set the following display property for the #chat-window selector. Then reload the page.

display: flex;

So as you can see by the above illustration, we can see it’s now next to the side bar, and not below it. But as you can see currently it’s only as wide as the text that’s inside of it.

But we want it to take up the remaining space of the chat shell. Well we know how to do this, as we did it in the previous article. Set the flex-grow property to 1 on the #chat-window selector. Basically copy and paste the property below and reload the page.

flex-grow: 1;

So now we have the chat window taking up the remaining space of the chat shell. Next, let’s remove the background property, and also remove all text inside the chat-window div if any still exists. You should now see the result below.

But are we done? Technically yes, but before we move on, let’s improve things a little bit.

Understanding the default alignment

If you remember, before we had defined our chat shell to be a flex container, we had to make sure we set the height of the side bar to be 100%. Otherwise it was 0 pixels high, and as a result nothing was displayed. With that said, try removing the height property from the #side-bar selector and see what happens when you reload the page. Yes that’s right, it still works. The height of the sidebar is still 100% high.

So what happened here? Why do we no longer have to worry about setting the height to 100%? Well this is one of the cool things Flexbox gives you for free. By default every flex item will stretch vertically to fill in the entire height of the flex container. We can in fact change this behaviour, and we will see how this is done in a future article.

Setting the size of the side bar properly

So another feature of Flexbox is being able to set the size of a flex item by using the flex-basis property. The flex-basis property allows you to specify an initial size of a flex item, before any growing or shrinking takes place. We’ll understand more about this in an upcoming article.

For now I just want you to understand one important thing. And that is using width to specify the size of the sidebar is not a good idea. Let’s see why.

Say that potentially, if the screen is mobile we want the side bar to now appear across the top of the chat shell, acting like a top bar instead. We can do this by changing the direction flex items can flex inside a flex container. For example, add the following CSS to the #chat-container selector. Then reload the page.

flex-direction: column;

So as you can see we are back to a blank shell. So firstly let’s understand what we actually did here. By setting the flex-direction property to column, we changed the direction of how the flex items flex. By default flex items will flex from left to right. However when we set flex-direction to column, it changes this behaviour forcing flex items to flex from top to bottom instead. On top of this, when the direction of flex changes, the sizing and alignment of flex items changes as well.

When flexing from left to right, we get a height of 100% for free as already mentioned, and then we made sure the side bar was set to be 275 pixels wide, by setting the width property.

However now that we a flexing from top to bottom, the width of the flex item by default would be 100% wide, and you would need to specify the height instead. So try this. Add the following property to the #side-bar selector to set the height of the side bar. Then reload the page.

height: 275px;

Now we are seeing the side bar again, as we gave it a fixed height too. But we still have that fixed width. That’s not what we wanted. We want the side bar (ie our new top bar) here to now be 100% wide. Comment out the width for a moment and reload the page again.

So now we were able to move our side bar so it appears on top instead, acting like a top bar. Which as previously mentioned might be suited for mobile device widths. But to do this we had to swap the value of width to be the value of height. Wouldn’t it be great if this size was preserved regardless of which direction our items are flexing.

Try this, remove all widths and height properties from the #side-bar selector and write the following instead. Then reload the page.

flex-basis: 275px;

As you can see we get the same result. Now remove the flex-direction property from the #chat-container selector. Then once again reload the page.

Once again we are back to our final output. But now we also have the flexibility to easily change the side bar to be a top bar if we need to, by just changing the direction items can flow. Regardless of the direction of flex, the size of our side bar / top bar is preserved.

Conclusion

Ok so once again we didn’t build much, but we did cover a lot of concepts about Flexbox around sizing. 

#css #programming #webdev 

studio52 dubai

studio52 dubai

1621850716

7 Tips for a Successful Live Event Coverage - Studio 52

Live events have been a growing trend in the events industry this past year, offering many businesses a much-needed lifeline. Read on for our simple tips to planning your virtual event

#event coverage services #event photography #event video production #event videography #event coverage services #event photography

How much does it cost to develop an app for the event planning business?

Event planning & management app is the generic term for a wide range of mobile app products that are used in the management of professional and academic conferences, trade exhibitions, conventions, and events such as Continuing Professional Development meetings.

Development Cost to build an Event Planning & Management App:

Based on the number of hours invested, features, and technologies involved, you can determine a rough estimate of Event Planning or Management app development cost. Cost depends on various factors such as follows.

• Basic & Advance Features

• Technology used

• Chosen Platform (iOS & Android)

• The Location of the app development center

• Mobile App complexity

• Numbers of hours invested in Project

The cost to create such an app can be as high as the number of integrated technologies. However, an app with basic features is certain to cost somewhere around $10,000 to $35,000 for single platforms (Android or iOS). If you want to make an app for various platforms then the cost will be vary based on features, location, development team, etc factors.

Best Event Planning & Management App Development Company:

Event Management apps streamline the entry process for events. Save your precious time for a smooth experience and devote time for more significant activities such as increasing revenue with a mobile app from AppClues Infotech, a top Events & Exhibitions App Development Company based in the USA and offer the best services across the world.

Save your time and money with their cost-effective mobile apps to easily collaborate with the participants of the events. Real-time chats help to carry out video conferencing with both the participants and the employees as well. Their mobile apps increase the efficiency of multiple events by sending important messages to the participants with a single click.

Offering services that make events successful:

  • Corporate events
  • Conferences
  • Trade shows
  • Sports and entertainment
  • Custom event schedule app development

Incorporate features that elevate experiences

  • Event creation
  • Event search
  • Event calendar
  • Ticket booking
  • Photo sharing
  • GPS
  • Push notification
  • Chatbot
  • Messaging
  • In-app payment
  • News & social feeds
  • In-app analytics

#how to develop an event app #event management app development company #custom event management app development #how to build an event planning app #develop a mobile app for events #cost to build a event management app

How much does it cost to build a virtual event application in 2021?

A Brief about Virtual Events
After the Covid-19 virtual event trend rising and now the demand has more increased. Digital activities are events held online in their most simplistic sense. Virtual events use web-based platforms to connect thousands of people worldwide.

Virtual events can cover anything, including individual events, but generally, four kinds of virtual events are available: virtual conferences, webinars, hybrid internal & external events. Google Meet, Evia, Digitell, ON 24, Zoom, GoToMeeting and more are among the top virtual event platforms.

Cost to Build a Virtual Event Application in 2021
The development cost of the application mostly depends on the features of a mobile application. The approx cost to build a virtual event app between $20,000 to $50,000 for a single platform (Android & iOS). It may go high if you choose the advanced technology and features while developing.

Best Virtual Event App Development Company

AppClues Infotech is a pioneer in providing innovative & unique mobile app solutions that offer impressive results and can make things easier. If you are looking forward to creating an application that can host your virtual events and meetings without gathering your team in the office then you surely are in the right place.

Why Choose AppClues Infotech for Virtual Event App Development?

• Innovative Solutions
• Round the Clock Availability
• Latest Technology
• Experience in the Field
• On-Time Delivery

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#virtual event app development #a complete guide to building a virtual event app #best mobile event apps development company #mobile event apps development company in usa #top virtual event apps development company in usa #virtual event platform development guide

Event Planning App Development

A manual search for ticket holders in an event leads to long queues and a delay in start time. This affects the credibility of the event management company. With an event management app, you can have seamless interactions; you can effortlessly communicate with event attendees. Also, event apps facilitate enhanced networking at events

Do you wish to have an event management app of your own?

DataIT Solutions are here to serve you with the best Event booking application for Android and iPhone. Having years of in-depth experience in mobile application development, we have been delivering the top class solutions for app development as per user prerequisites each time. Our mobile developers having all the skills to provide you a customized event application and can work on any kind of Mobile App Development for Event Booking.

What can you expect while you work with us for Mobile Event Mobile App Development?

  • Experienced Team of Web and Graphics Designers
  • Event App Development Team with rich exposure to Event Planning and Event Management App for iOS, Android, and other platforms
  • Consultative and Agile approach to Project Management
  • Cost-Effective and Custom Business Model to meet your Requirements
  • Effective tools of communication providing you detailed updates on every stage of your Project by your convenient mode of communication at your preferred time.

Excited to know more about the scope of your project? Send us an email for a free quote on Event Mobile App Development for your requirement to sales@dataitsolutions.com.

#event planning app development #event planning app developer #event app developer #event app development #event app #app development